Bug 33040 No single Undo for generate delegate methods
RC 1 - JUnit setup - open TestCase - select fName - generate delegate methods for all String methods - press Ctrl+Z Observe: only one method is removed.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/AddGetterSetterAction.java
IField[] getterFields= getGetterFields(result);
		IField[] setterFields= getSetterFields(result);
		generate(getterFields, setterFields);
	}
	private static ISelectionStatusValidator createValidator() {
		return new ISelectionStatusValidator(){
			public IStatus validate(Object[] selection) {
				int count= countSelectedMethods(selection);
				if (count == 0)
					return new StatusInfo(IStatus.ERROR, ""); 
				if (count == 1)	
					return new StatusInfo(IStatus.INFO, ActionMessages.getString("AddGetterSetterAction.one_selected")); 
					
				String message= ActionMessages.getFormattedString("AddGetterSetterAction.methods_selected", String.valueOf(count));
				return new StatusInfo(IStatus.INFO, message);
			}
			private int countSelectedMethods(Object[] selection){
				int count= 0;
				for (int i = 0; i < selection.length; i++) {
					if (selection[i] instanceof GetterSetterEntry)
						count++;
				}
				return count;
			}			
			
		};
	}
	private static IField[] getGetterFields(Object[] result){
		Collection list= new ArrayList(0);
		for (int i = 0; i < result.length; i++) {