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
dialog.setTitle(NewWizardMessages.getString("TypePage.SuperClassDialog.title")); 
		dialog.setMessage(NewWizardMessages.getString("TypePage.SuperClassDialog.message")); 
		if (fSuperClass != null) {
			dialog.setFilter(fSuperClass.getElementName());
		}
		if (dialog.open() == dialog.OK) {
			return (IType) dialog.getFirstResult();
		}
		return null;
	}
	
	private void chooseSuperInterfaces() {
		IPackageFragmentRoot root= getPackageFragmentRoot();
		if (root == null) {
			return;
		}	
		IJavaProject project= root.getJavaProject();
		SuperInterfaceSelectionDialog dialog= new SuperInterfaceSelectionDialog(getShell(), getWizard().getContainer(), fSuperInterfacesDialogField, project);
		dialog.setTitle(NewWizardMessages.getString("TypePage.InterfacesDialog.title")); 
		dialog.setMessage(NewWizardMessages.getString("TypePage.InterfacesDialog.message")); 
		dialog.open();
		return;
	}	
	
	
		
	
	/**
	 * Creates a type using the current field values.
	 */