if (!ActionUtil.isProcessable(getShell(), fEditor)) return;
	public void run(ITextSelection selection) {		try {			IJavaElement element= SelectionConverter.codeResolve(fEditor, getShell(), getDialogTitle(), 				ActionMessages.getString("OpenAction.select_element")); //$NON-NLS-1$			if (element == null) {				IEditorStatusLine statusLine= (IEditorStatusLine) fEditor.getAdapter(IEditorStatusLine.class);				if (statusLine != null)					statusLine.setMessage(true, ActionMessages.getString("OpenAction.error.messageBadSelection"), null); //$NON-NLS-1$				getShell().getDisplay().beep();				return;			}			IJavaElement input= SelectionConverter.getInput(fEditor);			int type= element.getElementType();			if (type == IJavaElement.JAVA_PROJECT || type == IJavaElement.PACKAGE_FRAGMENT_ROOT || type == IJavaElement.PACKAGE_FRAGMENT)				element= input;			run(new Object[] {element} );		} catch (JavaModelException e) {			showError(e);		}	}