Bug 62909 [performance] quick outline takes forever to show up
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/JavaOutlineInformationControl.java
viewMenu.add(fSortByDefiningTypeAction);
	}
	
	private ITypeHierarchy getSuperTypeHierarchy(IType type) {
		ITypeHierarchy th= (ITypeHierarchy)fTypeHierarchies.get(type);
		if (th == null) {
			try {
				th= SuperTypeHierarchyCache.getTypeHierarchy(type, getProgressMonitor());
			} catch (JavaModelException e) {
				return null;
			}
			fTypeHierarchies.put(type, th);
		}
		return th;
	}
	
	private IProgressMonitor getProgressMonitor() {
		IWorkbenchPage wbPage= JavaPlugin.getActivePage();
		if (wbPage == null)
			return null;
		
		IEditorPart editor= wbPage.getActiveEditor();
		if (editor == null)
			return null;
		
		return editor.getEditorSite().getActionBars().getStatusLineManager().getProgressMonitor();			
	}
}