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
Assert.isNotNull(fAllViewers);
		if (viewerIndex < fAllViewers.length && fCurrentViewerIndex != viewerIndex) {			
			fCurrentViewerIndex= viewerIndex;
			
			updateHierarchyViewer();
			if (fInputElement != null) {
				ISelection currSelection= getCurrentViewer().getSelection();
				if (currSelection == null || currSelection.isEmpty()) {
					updateSelection(fInputElement);
				}
				if (!fIsEnableMemberFilter) {
					typeSelectionChanged(getCurrentViewer().getSelection());
				}
			}		
			updateTitle();
			
			if (fHierarchyProblemListener != null) {
				JavaPlugin.getDefault().getProblemMarkerManager().removeListener(fHierarchyProblemListener);
			}
			fHierarchyProblemListener= getCurrentViewer();
			JavaPlugin.getDefault().getProblemMarkerManager().addListener(fHierarchyProblemListener);
			
			
			fDialogSettings.put(DIALOGSTORE_HIERARCHYVIEW, viewerIndex);
			getCurrentViewer().getTree().setFocus();
		}
		for (int i= 0; i < fViewActions.length; i++) {
			ToggleViewAction action= fViewActions[i];
			action.setChecked(fCurrentViewerIndex == action.getViewerIndex());
		}