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/AddGetterSetterAction.java
count++;
					} 					
				} catch (JavaModelException e) {
				}				
			}
			
			if (count == 0)
				return new StatusInfo(IStatus.ERROR, ""); 
			String message= ActionMessages.getFormattedString("AddGetterSetterAction.methods_selected", 
																new Object[] { String.valueOf(count), String.valueOf(fEntries)} ); 																	
			return new StatusInfo(IStatus.INFO, message);
		}		
	}
	
	/***
	 * Creates a key used for hashmaps for a method signature (gettersettername+arguments(fqn))
	 */
	private static String createSignatureKey(String methodName, IField field) throws JavaModelException {
		StringBuffer buffer = new StringBuffer();
		buffer.append(methodName);
		String fieldType= field.getTypeSignature();		
		String signature= Signature.getSimpleName(Signature.toString(fieldType));
		buffer.append("#");  
		buffer.append(signature);
		
		return buffer.toString();
	}	
	
	private static ISelectionStatusValidator createValidator(int entries) {
		AddGetterSetterSelectionStatusValidator validator= new AddGetterSetterSelectionStatusValidator(entries);