Bug 6758 Class name corrupted by creating member class using wizard
Build 20011206 - opened org.eclipse.ui.actions.DeleteResourceAction - using new class wizard, created member class named DeleteProjectDialog as a subclass of MessageDialog (in org.eclipse.jface.dialogs) - the result was: ... public class DeleteRes ourceAction extends SelectionListenerAction { public class DeleteProjectDialog extends MessageDialog { } ... Note the extra tab in DeleteResourceAction, and the strange formatting for the new class.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/TypePage.java
updateEnableState();
	}
	
	/**
	 * Returns <code>true</code> if the enclosing type selection check box is enabled.
	 */
	public boolean isEnclosingTypeSelected() {
		return fEnclosingTypeSelection.isSelected();
	}
	/**
	 * Sets the enclosing type selection checkbox.
	 * @param canBeModified Selects if the enclosing type selection can be changed by the user
	 */	
	public void setEnclosingTypeSelection(boolean isSelected, boolean canBeModified) {
		fEnclosingTypeSelection.setSelection(isSelected);
		fEnclosingTypeSelection.setEnabled(canBeModified);
		updateEnableState();
	}
	
	/**
	 * Gets the type name.
	 */
	public String getTypeName() {
		return fTypeNameDialogField.getText();
	}
	/**
	 * Sets the type name.
	 * @param canBeModified Selects if the type name can be changed by the user
	 */	
	public void setTypeName(String name, boolean canBeModified) {