Bug 26265 No busy cursor when selecting type in type hierarchy [type hierarchy]
Build 20021113 - load JUnit - create hierarchy for TestCase - enlarge size of TestCase.java by duplicating methods - select Object in hierarchy - select TextCase in hierarchy observe: you don't get a busy cursor. IDE looks froozen.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java
fActionGroups.setContext(null);
		
		
	
		
		
		
	}
	
	private void addOpenWithMenu(IMenuManager menu, IStructuredSelection selection) {
		
		
		if (selection.size() != 1)
			return;
		Object element= selection.getFirstElement();
		if (!(element instanceof IJavaElement))
			return;
				
		IJavaElement openable= (IJavaElement) ((IJavaElement) element).getOpenable();
		IResource resource= openable.getResource();	
		if (!(resource instanceof IFile))
			return; 
		
		MenuManager submenu= new MenuManager(TypeHierarchyMessages.getString("TypeHierarchyViewPart.menu.open")); 
		submenu.add(new OpenWithMenu(getSite().getPage(), (IFile) resource));
		
		menu.appendToGroup(IContextMenuConstants.GROUP_OPEN, submenu);
	}
	/**
	 * Toggles between the empty viewer page and the hierarchy