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
} catch (InvocationTargetException e) {
				ExceptionHandler.handle(e, getShell(), getDialogTitle(), ActionMessages.getString("GenerateConstructorUsingFieldsAction.error.actionfailed")); 
			} catch (InterruptedException e) {
				
			} finally {
				if (target != null) {
					target.endCompoundChange();
				}
			}
		}
	}
	
	private static IMethod[] getSuperConstructors(IType type) throws CoreException {
		List constructorMethods= new ArrayList();
		
		ITypeHierarchy hierarchy= type.newSupertypeHierarchy(null);				
		IType supertype= hierarchy.getSuperclass(type);
		if (supertype != null) {
			IMethod[] superMethods= supertype.getMethods();
			boolean constuctorFound= false;
			for (int i= 0; i < superMethods.length; i++) {
					IMethod curr= superMethods[i];
					if (curr.isConstructor())  {
						constuctorFound= true;
						if (JavaModelUtil.isVisibleInHierarchy(curr, type.getPackageFragment())) {
							constructorMethods.add(curr);
						}
					}
			}