Bug 18588 [Workbench] Hierarchy - no progress monitor ?
Build 20020601 Open type java.lang.Object, select Object type name in editor, and hit F4. No progress is shown during hierarchy opening.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyLifeCycle.java
}
		if (hierachyCreationNeeded) {
			fInputElement= element;
			if (element.getElementType() == IJavaElement.TYPE) {
				IType type= (IType) element;
				if (fIsSuperTypesOnly) {
					fHierarchy= type.newSupertypeHierarchy(pm);
				} else {
					fHierarchy= type.newTypeHierarchy(pm);
				}
			} else {
				IRegion region= JavaCore.newRegion();
				if (element.getElementType() == IJavaElement.JAVA_PROJECT) {
					
					IPackageFragmentRoot[] roots= ((IJavaProject) element).getPackageFragmentRoots();
					for (int i= 0; i < roots.length; i++) {
						if (!roots[i].isExternal()) {
							region.add(roots[i]);
						}
					}
				} else if (element.getElementType() == IJavaElement.PACKAGE_FRAGMENT) {
					IPackageFragmentRoot[] roots= element.getJavaProject().getPackageFragmentRoots();
					String name= element.getElementName();
					for (int i= 0; i < roots.length; i++) {
						IPackageFragment pack= roots[i].getPackageFragment(name);
						if (pack.exists()) {
							region.add(pack);
						}
					}
				} else {