Bug 69154 [navigation] Open with "Show Selected Element Only" does not narrow down in single-click mode
I have "Show Selected Element Only" selected in my Type Hierarchy perspective. When I open a Type Hierarchy and click on an element in the Hierarchy pane, the Editor pane highlights that element in the source, but doesn't just show that element--it's still showing the entire source. If I then click in the Editor pane, the view suddenly changes to just that element.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/EditorUtility.java
JavaPlugin.log(x.getStatus());
		}
		if (input != null) {
			IWorkbenchPage p= JavaPlugin.getActivePage();
			if (p != null) {
				return p.findEditor(input);
			}
		}
		return null;
	}
	/**
	 * Opens a Java editor for an element such as <code>IJavaElement</code>, <code>IFile</code>, or <code>IStorage</code>.
	 * The editor is activated by default.
	 * @return the IEditorPart or null if wrong element type or opening failed
	 */
	public static IEditorPart openInEditor(Object inputElement) throws JavaModelException, PartInitException {
		return openInEditor(inputElement, true);
	}
	/**
	 * Opens a Java editor for an element (IJavaElement, IFile, IStorage...)
	 * @return the IEditorPart or null if wrong element type or opening failed
	 */
	public static IEditorPart openInEditor(Object inputElement, boolean activate) throws JavaModelException, PartInitException {
		if (inputElement instanceof IFile)
			return openInEditor((IFile) inputElement, activate);
		IEditorInput input= getEditorInput(inputElement);
		if (input instanceof IFileEditorInput) {
			IFileEditorInput fileInput= (IFileEditorInput) input;
			return openInEditor(fileInput.getFile(), activate);
		}