run(getResource(candidate));
if (candidate != null) { run(getResource(candidate)); }
	public void run(ITextSelection selection) {		IJavaElement input= SelectionConverter.getInput(fEditor);		if (!ActionUtil.isProcessable(getShell(), input))			return;								try {			IJavaElement[] elements= SelectionConverter.codeResolveOrInputForked(fEditor);			if (elements == null || elements.length == 0)				return;						IJavaElement candidate= elements[0];			if (elements.length > 1) {				candidate= OpenActionUtil.selectJavaElement(elements, getShell(), getDialogTitle(), ActionMessages.ShowInNavigatorView_dialog_message);			}			run(getResource(candidate));		} catch (InvocationTargetException e) {			ExceptionHandler.handle(e, getDialogTitle(), ActionMessages.SelectionConverter_codeResolve_failed);		} catch (InterruptedException e) {			// cancelled		}	}