Bug 38570 Source generation wizards; Add button to open preference page
M1 The Getter/Setter wizard should offer an access to the Code Generation Preference page: Field prefix/suffix, getter/setter body content, method comment template Add delegate, constructor and override could have a button for the method comment template The code to open a preference page programatically can be copied from TodoTaskPropertyPage.showPreferencePage
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/GenerateNewConstructorUsingFieldsAction.java
}
		public IStatus validate(Object[] selection) {
			StringBuffer buffer= new StringBuffer();
			buffer.append('(');
			
			IMethod chosenSuper= fDialog.getSuperConstructorChoice();
			try {
				String superParamTypes[]= chosenSuper.getParameterTypes();
				for (int i= 0; i < superParamTypes.length; i++) {
					buffer.append(superParamTypes[i]);
				}
				
				for (int i= 0; i < selection.length; i++) {
					if (selection[i] instanceof IField) {
						buffer.append(((IField) selection[i]).getTypeSignature());
					}
				}
			} catch (JavaModelException e) {
			}
			buffer.append(")V"); 
			if (fExistingSigs.contains(buffer.toString())) {
				return new StatusInfo(IStatus.WARNING, ActionMessages.getString("GenerateConstructorUsingFieldsAction.error.duplicate_constructor")); 							
			}
			int fieldCount= countSelectedFields(selection);
			String message= ActionMessages.getFormattedString("GenerateConstructorUsingFieldsAction.fields_selected", new Object[] { String.valueOf(fieldCount), String.valueOf(fEntries)}); 
			return new StatusInfo(IStatus.INFO, message);
		}
		private int countSelectedFields(Object[] selection) {
			int count= 0;
			for (int i= 0; i < selection.length; i++) {