Bug 28269 type hierarchy makes work much slower even though it's invisible
20021210 i had a big type hierarchy open but put in the background - behind the package explorer i added 1 type to the workspace boom - tyhe whole thing froze for 2 minutes because the type hierarchy was doing a lot of work that i did not ask for and no busy cursor it makes it quite impossible to work if you have a type hierarchy open anywhere
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java
}
		}
	}
	
	private void doSelectionChanged(SelectionChangedEvent e) {
		if (e.getSelectionProvider() == fMethodsViewer) {
			methodSelectionChanged(e.getSelection());
			fSelectAllAction.setEnabled(true);
		} else {
			typeSelectionChanged(e.getSelection());
			fSelectAllAction.setEnabled(false);
		}
	}
	
	
	
	private void methodSelectionChanged(ISelection sel) {
		if (sel instanceof IStructuredSelection) {
			List selected= ((IStructuredSelection)sel).toList();
			int nSelected= selected.size();
			if (fIsEnableMemberFilter) {
				IMember[] memberFilter= null;
				if (nSelected > 0) {
					memberFilter= new IMember[nSelected];
					selected.toArray(memberFilter);
				}
				setMemberFilter(memberFilter);
				updateHierarchyViewer();
				updateTitle();
				internalSelectType(fSelectedType, true);