Bug 19367 Generate Getter and Setter dialog for final fields takes the wrong action
As of F2, when generating a getters and setters for final fields, a dialog asks if it's "OK to only create getter". The options are Yes, Yes to All, No, and Cancel. It looks like selecting "Yes to All" actually acts like No (i.e. the setter gets created), and vice versa.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/AddGetterSetterAction.java
JavaPlugin.log(e.getStatus());
			showError(ActionMessages.getString("AddGetterSetterAction.error.actionfailed")); 
		}
	}
	
	 void editorStateChanged() {
		setEnabled(checkEnabledEditor());
	}
	
	private boolean checkEnabledEditor() {
		return fEditor != null && !fEditor.isEditorInputReadOnly() && SelectionConverter.canOperateOn(fEditor);
	}	
	
	private boolean checkCu(IMember member) throws JavaModelException{
		if (JavaModelUtil.isEditable(member.getCompilationUnit())) 
			return true;
		MessageDialog.openInformation(getShell(), dialogTitle, 
			ActionMessages.getFormattedString("AddGetterSetterAction.read_only", member.getElementName())); 
		return false;
	}
	
	
	
	private void run(IField[] getterFields, IField[] setterFields, IEditorPart editor) {
		try{
			AddGetterSetterOperation op= createAddGetterSetterOperation(getterFields, setterFields);
			new ProgressMonitorDialog(getShell()).run(false, true, new WorkbenchRunnableAdapter(op));
		
			IMethod[] createdMethods= op.getCreatedAccessors();
			if (createdMethods.length > 0) {