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
((TextEditorAction)toggleAction).setEditor(null);
					
					((TextEditorAction)toggleAction).setEditor((ITextEditor)editorPart);
				} else {
					
					toggleAction.run();
					
					toggleAction.run();
				}
			}
		}
	}
	/**
	 *@deprecated	Made it public again for java debugger UI.
	 */
	public static String getEditorID(IEditorInput input, Object inputObject) {
		IEditorDescriptor editorDescriptor;
		try {
			editorDescriptor= IDE.getEditorDescriptor(input.getName());
		} catch (PartInitException e) {
			return null;
		}
		if (editorDescriptor != null)
			return editorDescriptor.getId();
		return null;
	}
	private static IEditorInput getEditorInput(IJavaElement element) throws JavaModelException {
		while (element != null) {
			if (element instanceof ICompilationUnit) {