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
buf.append(lineDelimiter);
		buf.append(lineDelimiter);
		buf.append('}');
		buf.append(lineDelimiter);
		return buf.toString();
	}
	/**
	 * Called from createType to allow adding methods for the newly created type
	 * Returns array of sources of the methods that have to be added
	 * @param parent The type where the methods will be added to 
	 */		
	protected String[] evalMethods(IType parent, IImportsStructure imports, IProgressMonitor monitor) throws CoreException {
		return new String[0];
	}
	
	/**
	 * Called from createType to get a file comment. By default the content of template
	 * 'filecomment' is taken.
	 * Returns source or null, if no file comment should be added
	 */		
	protected String getFileComment() {
		if (CodeGenerationPreferencePage.doFileComments()) {
			return getTemplate("filecomment");
		}
		return null;
	}
	
	/**
	 * Called from createType to get a type comment. 
	 * Returns source or null, if no type comment should be added