Bug 13303 Create New Class: Too many comments
Now both type- and file- comment contain a message that thay can be configured in the pref page: /** * Created on 10.04.2002 * * To change this generated comment edit the template variable "filecomment": * Workbench>Preferences>Java>Templates. */ /** * @author maeschlimann * * To change this generated comment edit the template variable "typecomment": * Workbench>Preferences>Java>Templates. */ public class A { -> We should disable the option CodeGeneration->create file comment -> Path should be Window>Preferences>Java>Templates
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CodeGenerationPreferencePage.java
fCreateJavaDocComments.doFillIntoGrid(composite, 2);
		fCreateNonJavadocComments.doFillIntoGrid(composite, 2);
		fCreateFileComments.doFillIntoGrid(composite, 2);
		
		(new Separator()).doFillIntoGrid(composite, 2, 4);
		
		DialogField getterSetterLabel= new DialogField();
		getterSetterLabel.setLabelText(JavaUIMessages.getString("CodeGenerationPreferencePage.gettersetter.label")); 
		getterSetterLabel.doFillIntoGrid(composite, 2);
		fUseGetterSetterPrefix.doFillIntoGrid(composite, 2);
		fGetterSetterPrefix.doFillIntoGrid(composite, 2);
		LayoutUtil.setHorizontalIndent(fGetterSetterPrefix.getLabelControl(null), horizontalIndent);
		LayoutUtil.setHorizontalGrabbing(fGetterSetterPrefix.getTextControl(null));
		
		fUseGetterSetterSuffix.doFillIntoGrid(composite, 2);
		fGetterSetterSuffix.doFillIntoGrid(composite, 2);		
		LayoutUtil.setHorizontalIndent(fGetterSetterSuffix.getLabelControl(null), horizontalIndent);
		
		initFields();
		
		return composite;
	}
	
	private void doDialogFieldChanged(DialogField field) {
		if (field == fGetterSetterPrefix || field == fUseGetterSetterPrefix) {
			fGetterSetterPrefix.setEnabled(fUseGetterSetterPrefix.isSelected());
			if (fUseGetterSetterPrefix.isSelected()) {
				String[] prefixes= unpackOrderList(fGetterSetterPrefix.getText());
				fGetterSetterPrefixStatus= validateIdentifiers(prefixes, true);