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
}
		protected void buttonPressed(int buttonId) {
			super.buttonPressed(buttonId);
			switch (buttonId) {
				case UP_BUTTON :
					{
						GenerateConstructorUsingFieldsContentProvider contentProvider= (GenerateConstructorUsingFieldsContentProvider) getTreeViewer().getContentProvider();
						contentProvider.up(getElementList(), getTreeViewer());
						updateOKStatus();
						break;
					}
				case DOWN_BUTTON :
					{
						GenerateConstructorUsingFieldsContentProvider contentProvider= (GenerateConstructorUsingFieldsContentProvider) getTreeViewer().getContentProvider();
						contentProvider.down(getElementList(), getTreeViewer());
						updateOKStatus();
						break;
					}
			}
		}
		private List getElementList() {
			IStructuredSelection selection= (IStructuredSelection) getTreeViewer().getSelection();
			List elements= selection.toList();
			ArrayList elementList= new ArrayList();
			for (int i= 0; i < elements.size(); i++) {
				elementList.add(elements.get(i));
			}
			return elementList;
		}
		protected Composite createEntryPtCombo(Composite composite) {