Bug 8595 'Open super implementation' should be disabled
In the Outline view, there seems to be a new menu item 'Open super implementation', and a corresponding decoration on methods to indicate thet they have a super implementation. The UI already knows if the method has a super implementation, so it should disable the menu item when there is no super implementation to open to. Currently it just does nothing if you select a method with no super implementation. (Tested against 20020125 build)
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OpenSuperImplementationAction.java
}
	/* (non-Javadoc)
	 * Method declared on SelectionDispatchAction.
	 */
	protected void selectionChanged(IStructuredSelection selection) {
		setEnabled(getMethod(selection) != null);
	}
	
	/* (non-Javadoc)
	 * Method declared on SelectionDispatchAction.
	 */
	protected void run(ITextSelection selection) {
		run(getMethod(selection));
	}
	
	/* (non-Javadoc)
	 * Method declared on SelectionDispatchAction.
	 */
	protected void run(IStructuredSelection selection) {
		run(getMethod(selection));
	}
	
	private void run(IMethod method) {
		if (method == null)
			return;
		try {
			IType declaringType= method.getDeclaringType();
			ICompilationUnit cu= declaringType.getCompilationUnit();
			if (cu != null && cu.isWorkingCopy()) {
				declaringType= (IType) cu.getOriginal(declaringType);