Bug 47665 Hierarchy perspective outline is missing 'Link with editor' [type hierarchy]
M5 build. I launch type hierarchies in their own perspective in their own window, like the old Smalltalk days. ;) But when I select F4 to open a hierarchy on a method, the method is not selected in the outliner of the new hierarchy perspective, nor is there a 'link with editor' option.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/util/OpenTypeHierarchyUtil.java
}
	
	private static TypeHierarchyViewPart openInPerspective(IWorkbenchWindow window, IJavaElement input) throws WorkbenchException, JavaModelException {
		IWorkbench workbench= JavaPlugin.getDefault().getWorkbench();
		
		
		IJavaElement perspectiveInput= input;
		
		if (input instanceof IMember) {
			input= JavaModelUtil.toOriginal((IMember)input);
			if (input.getElementType() != IJavaElement.TYPE) {
				perspectiveInput= ((IMember)input).getDeclaringType();
			} else {
				perspectiveInput= input;
			}
		}
		IWorkbenchPage page= workbench.showPerspective(JavaUI.ID_HIERARCHYPERSPECTIVE, window, perspectiveInput);
		
		TypeHierarchyViewPart part= (TypeHierarchyViewPart) page.findView(JavaUI.ID_TYPE_HIERARCHY);
		if (part != null) {
			part.clearNeededRefresh(); 
		}		
		part= (TypeHierarchyViewPart) page.showView(JavaUI.ID_TYPE_HIERARCHY);
		part.setInputElement(perspectiveInput);
		if (input instanceof IMember) {
			openEditor(input, false);
		}
		return part;
	}
	private static void openEditor(Object input, boolean activate) throws PartInitException, JavaModelException {