Bug 121627 [[code generation wizards] AddGetterSetterAction object should provide getter method for dialog result.
I have a scenario where multiple document edits are desired as part of a quick fix implementation: 1. Invoking AddGetterSetterAction.run() to offer the creation of Getter/Setter methods 2. If the above is not canceled, change the access modifier for a public field to private. Unfortunately, the AddGetterSetterAction has no private field which tracks the dialog result (e.g. Window.OK) ... As a work-around, the user can use edit-undo to back off the access modifier change after a cancel operation...
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/AddGetterSetterAction.java
private boolean fSort;
	private boolean fSynchronized;
	private boolean fFinal;
	private int fVisibility;
	private boolean fGenerateComment;
	private int fNumEntries;
	private CompilationUnitEditor fEditor;
	private static final String DIALOG_TITLE= ActionMessages.AddGetterSetterAction_error_title; 
	/**
	 * Creates a new <code>AddGetterSetterAction</code>. The action requires that the
	 * selection provided by the site's selection provider is of type <code>
	 * org.eclipse.jface.viewers.IStructuredSelection</code>.
	 * 
	 * @param site the site providing context information for this action
	 */
	public AddGetterSetterAction(IWorkbenchSite site) {
		super(site);
		setText(ActionMessages.AddGetterSetterAction_label); 
		setDescription(ActionMessages.AddGetterSetterAction_description); 
		setToolTipText(ActionMessages.AddGetterSetterAction_tooltip);