Bug 4172 feature: auto select "Inherited Abstract Methods" (1GJLAE7)
jkca (9/5/2001 11:56:30 AM) It would be nice if the New Class Wizard automatically selected "Inherited Abstract Methods" when the user adds an interface to the Extended Interfaces list. I argue that most users will want this selected if they plan to implement an interface.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/NewClassCreationWizardPage.java
public NewClassCreationWizardPage(IWorkspaceRoot root) {
		super(true, PAGE_NAME, root);
		
		setTitle(NewWizardMessages.getString("NewClassCreationWizardPage.title")); 
		setDescription(NewWizardMessages.getString("NewClassCreationWizardPage.description")); 
		
		String[] buttonNames3= new String[] {
			NewWizardMessages.getString("NewClassCreationWizardPage.methods.main"), NewWizardMessages.getString("NewClassCreationWizardPage.methods.constructors"), 
			NewWizardMessages.getString("NewClassCreationWizardPage.methods.inherited") 
		};		
		fMethodStubsButtons= new SelectionButtonDialogFieldGroup(SWT.CHECK, buttonNames3, 1);
		fMethodStubsButtons.setLabelText(NewWizardMessages.getString("NewClassCreationWizardPage.methods.label"));		 
	}
	
	/**
	 * Should be called from the wizard with the input element.
	 */
	public void init(IStructuredSelection selection) {
		IJavaElement jelem= getInitialJavaElement(selection);
		initContainerPage(jelem);
		initTypePage(jelem);
		updateStatus(findMostSevereStatus());
	}
	
	
	/**
	 * Finds the most severe error (if there is one)
	 */
	private IStatus findMostSevereStatus() {
		return StatusUtil.getMostSevere(new IStatus[] {