Bug 5492 Open in Hierarchy method list is enabled even when nothing is selected
206 1) Ensure no item is selected in the hierachy view's member list 2) Right click - not on an item 3) Open is present and enabled 4) Select Open, nothing happens
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewer.java
private OpenJavaElementAction fOpen;
	private ShowInPackageViewAction fShowInPackageViewAction;
	private ContextMenuGroup[] fStandardGroups;
			
	public TypeHierarchyViewer(Composite parent, IContentProvider contentProvider, ILabelProvider lprovider, IWorkbenchPart part) {
		super(new Tree(parent, SWT.SINGLE));
				
		setContentProvider(contentProvider);
		setLabelProvider(lprovider);
		setSorter(new ViewerSorter() {
			public boolean isSorterProperty(Object element, Object property) {
				return true;
			}
		
			public int category(Object element) {
				if (element instanceof IType) {
					try {
						return (((IType)element).isInterface()) ? 2 : 1;
					} catch (JavaModelException e) {
					}
				} else if (element instanceof IMember) {
					return 0;
				}
				return 3;
			}
		});