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
fTypeNameDialogField.setText(name);
		fTypeNameDialogField.setEnabled(canBeModified);
	}	
	
	/**
	 * Gets the selected modifiers.
	 * @see Flags 
	 */	
	public int getModifiers() {
		int mdf= 0;
		if (fAccMdfButtons.isSelected(PUBLIC_INDEX)) {
			mdf+= IConstants.AccPublic;
		} else if (fAccMdfButtons.isSelected(PRIVATE_INDEX)) {
			mdf+= IConstants.AccPrivate;
		} else if (fAccMdfButtons.isSelected(PROTECTED_INDEX)) {	
			mdf+= IConstants.AccProtected;
		}
		if (fOtherMdfButtons.isSelected(ABSTRACT_INDEX) && (fStaticMdfIndex != 0)) {	
			mdf+= IConstants.AccAbstract;
		}
		if (fOtherMdfButtons.isSelected(FINAL_INDEX)) {	
			mdf+= IConstants.AccFinal;
		}
		if (fOtherMdfButtons.isSelected(fStaticMdfIndex)) {	
			mdf+= IConstants.AccStatic;
		}
		return mdf;
	}
	/**
	 * Sets the modifiers.