Bug 8815 Open Hierarchy does not set focus correctly
If I open the type hierarchy then the Hierarchy view has the focus but the element inside its viewer is gray - it should be blue. This affects the Java Browsers: the selection is not propagated and the Members view remains empty.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java
for (int i= 0; i < fViewActions.length; i++) {
			tbmanager.add(fViewActions[i]);
		}
		tbmanager.update(false);	
	}
	private void clearMainToolBar(IToolBarManager tbmanager) {
		tbmanager.removeAll();
		tbmanager.update(false);		
	}	
	
	
	/**
	 * Creates the context menu for the hierarchy viewers
	 */
	private void fillTypesViewerContextMenu(TypeHierarchyViewer viewer, IMenuManager menu) {
		JavaPlugin.createStandardGroups(menu);
		
		viewer.contributeToContextMenu(menu);
		IStructuredSelection selection= (IStructuredSelection)viewer.getSelection();
		if (JavaBasePreferencePage.openTypeHierarchyInPerspective()) {
			addOpenPerspectiveItem(menu, selection);
		}
		addOpenWithMenu(menu, selection);
		
		menu.appendToGroup(IContextMenuConstants.GROUP_SHOW, fFocusOnTypeAction);
		if (fFocusOnSelectionAction.canActionBeAdded())
			menu.appendToGroup(IContextMenuConstants.GROUP_SHOW, fFocusOnSelectionAction);
			
		addRefactoring(menu, viewer);
		ContextMenuGroup.add(menu, new ContextMenuGroup[] { new BuildGroup(), new ReorgGroup() }, viewer);