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
public OpenSuperImplementationAction(IWorkbenchSite site) {
		super(site);
		setText(ActionMessages.getString("OpenSuperImplementationAction.label")); 
		setDescription(ActionMessages.getString("OpenSuperImplementationAction.description")); 
		setToolTipText(ActionMessages.getString("OpenSuperImplementationAction.tooltip")); 
	}
	
	/**
	 * Creates a new <code>OpenSuperImplementationAction</code>.
	 * <p>
	 * Note: This constructor is for internal use only. Clients should not call this constructor.
	 * </p>
	 */
	public OpenSuperImplementationAction(JavaEditor editor) {
		this(editor.getEditorSite());
		fEditor= editor;
	}
	
	/* (non-Javadoc)
	 * Method declared on SelectionDispatchAction.
	 */
	protected void selectionChanged(ITextSelection selection) {
		setEnabled(fEditor != null);
	}
	private boolean checkEnabled(ITextSelection selection) {
		try {
			return fEditor != null && SelectionConverter.getElementAtOffset(fEditor) != null;
		} catch (JavaModelException e) {
		}
		return false;