Bug 6638 "Add Method Overrides" menu pick
It would be nice to have an "Add Method Overrides" menu pick (analogous to the "Add Unimplemented Methods" menu pick in certain context menus) that would bring up a selection box of currently-unoverridden base-class methods and insert stubs for the selected methods.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/AddUnimplementedMethodsAction.java
import org.eclipse.jface.viewers.IStructuredSelection;
import org.eclipse.ui.IEditorPart;
import org.eclipse.ui.help.WorkbenchHelp;
import org.eclipse.jdt.core.IMethod;
import org.eclipse.jdt.core.IType;
import org.eclipse.jdt.core.JavaModelException;
import org.eclipse.jdt.internal.corext.codemanipulation.AddUnimplementedMethodsOperation;
import org.eclipse.jdt.internal.corext.codemanipulation.CodeGenerationSettings;
import org.eclipse.jdt.internal.ui.IJavaHelpContextIds;
import org.eclipse.jdt.internal.ui.JavaPlugin;
import org.eclipse.jdt.internal.ui.JavaUIMessages;
import org.eclipse.jdt.internal.ui.javaeditor.EditorUtility;
import org.eclipse.jdt.internal.ui.preferences.JavaPreferencesSettings;
/**
 * Evaluates unimplemented methods of a type.
 * Will open an editor for the type. Changes are unsaved.
 */
public class AddUnimplementedMethodsAction extends Action {
	private ISelectionProvider fSelectionProvider;
	public AddUnimplementedMethodsAction(ISelectionProvider selProvider) {
		super(JavaUIMessages.getString("AddUnimplementedMethodsAction.label")); 
		setDescription(JavaUIMessages.getString("AddUnimplementedMethodsAction.description")); 
		setToolTipText(JavaUIMessages.getString("AddUnimplementedMethodsAction.tooltip")); 
		fSelectionProvider= selProvider;
		
		WorkbenchHelp.setHelp(this,	new Object[] { IJavaHelpContextIds.ADD_UNIMPLEMENTED_METHODS_ACTION });
		
	}
	public void run() {
		Shell shell= JavaPlugin.getActiveWorkbenchShell();