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/AddDelegateMethodsAction.java
public void run(IProgressMonitor monitor) throws CoreException {
			String message = ActionMessages.getFormattedString("AddDelegateMethodsAction.monitor.message", String.valueOf(fList.size())); 
			monitor.beginTask(message, fList.size());
			
			CodeGenerationSettings settings = JavaPreferencesSettings.getCodeGenerationSettings();
			boolean addComments = settings.createComments;
			
			IMethod[] existingMethods = fType.getMethods();
			
			String lineDelim = StubUtility.getLineDelimiterUsed(fType);
			
			int indent = StubUtility.getIndentUsed(fType) + 1;
			
			final ImportsStructure imports =
				new ImportsStructure(fType.getCompilationUnit(), settings.importOrder, settings.importThreshold, true);
			for (int i = 0; i < fList.size(); i++) {
				
				
				if (monitor.isCanceled()) {
					if (i > 0) {
						imports.create(false, null);
					}
					return;
				}
				ITypeHierarchy typeHierarchy = fType.newSupertypeHierarchy(null);
				String content = null;
				Methods2Field wrapper = (Methods2Field) fList.get(i);
				IMethod curr = wrapper.fMethod;
				IField field = wrapper.fField;
				IMethod overwrittenMethod =