public ShowInNavigatorViewAction(JavaEditor editor) { this(editor.getEditorSite()); fEditor= editor; setEnabled(SelectionConverter.canOperateOn(fEditor));
public ShowInNavigatorViewAction(IWorkbenchSite site) { super(site); setText(ActionMessages.getString("ShowInNavigatorView.label")); WorkbenchHelp.setHelp(this, IJavaHelpContextIds.SHOW_IN_NAVIGATOR_VIEW_ACTION);
	public ShowInNavigatorViewAction(JavaEditor editor) {		this(editor.getEditorSite());		fEditor= editor;		setEnabled(SelectionConverter.canOperateOn(fEditor));	}