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/internal/ui/dialogs/OverrideMethodDialog.java
private class OverrideFlatTreeAction extends Action {
		private boolean fToggle;
		
		public OverrideFlatTreeAction() {
			super(); 
			setToolTipText(JavaUIMessages.getString("OverrideMethodDialog.groupMethodsByTypes")); 
	
			JavaPluginImages.setLocalImageDescriptors(this, "impl_co.gif"); 
			fToggle= getOverrideContentProvider().isShowTypes();
			setChecked(fToggle);
		}
	
		public void run() {
			
			Object[] elementList= getOverrideContentProvider().getViewer().getCheckedElements();
			fToggle= !fToggle;
			setChecked(fToggle);
			getOverrideContentProvider().setShowTypes(fToggle);		
			getOverrideContentProvider().getViewer().setCheckedElements(elementList);
		}
		
		private OverrideMethodContentProvider getOverrideContentProvider() {
			return (OverrideMethodContentProvider) getContentProvider();
		}
		
	}
	
	private static class OverrideMethodContentProvider implements ITreeContentProvider {