Bug 5820 Close all editors brings up hierarchy of object
Build: 1107 1. Open a Java editor in the Java perspective 2. Select the project 3. Hit Ctrl-Shift-F4 The hierarchy for Object appears after ~30 seconds. This is very confusing.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java
private void updateTitle() {
		String title= getCurrentViewer().getTitle();
		setTitle(getCurrentViewer().getTitle());
		String tooltip;
		if (fInputElement != null) {
			String[] args= new String[] { title, JavaElementLabels.getElementLabel(fInputElement, JavaElementLabels.ALL_DEFAULT) };
			tooltip= TypeHierarchyMessages.getFormattedString("TypeHierarchyViewPart.tooltip", args); 
		} else {
			tooltip= title;
		}
		setTitleToolTip(tooltip);
	}
	
	private void updateToolbarButtons() {
		boolean isType= fInputElement instanceof IType;
		for (int i= 0; i < fViewActions.length; i++) {
			ToggleViewAction action= fViewActions[i];
			if (action.getViewerIndex() == VIEW_ID_TYPE) {
				action.setEnabled(fInputElement != null);
			} else {
				action.setEnabled(isType);
			}
		}
	}
		
	/**
	 * Sets the current view (see view id)
	 * called from ToggleViewAction. Must be called after creation of the viewpart.
	 */	
	public void setView(int viewerIndex) {