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
methods.add(o[i]);
				}
				IEditorPart part = EditorUtility.openInEditor(type);
				type = (IType) JavaModelUtil.toWorkingCopy(type);
				IMethod[] createdMethods = processResults(methods, type);
				if (createdMethods != null && createdMethods.length > 0) {
					EditorUtility.revealInEditor(part, createdMethods[0]);
				}
			}
		} catch (CoreException e) {
			ExceptionHandler.handle(e, DIALOG_TITLE, ActionMessages.getString("AddDelegateMethodsAction.error.actionfailed")); 
		} catch (InvocationTargetException e) {
			ExceptionHandler.handle(e, DIALOG_TITLE, ActionMessages.getString("AddDelegateMethodsAction.error.actionfailed")); 
		}
	}
	
	private static class ResultRunner implements IWorkspaceRunnable {
		
		List fList = null;
		
		IType fType = null;
		List fCreatedMethods;
		public ResultRunner(List resultList, IType type) {
			fList = resultList;
			fType = type;
			fCreatedMethods = new ArrayList();
		}
		public IMethod[] getCreatedMethods() {
			return (IMethod[]) fCreatedMethods.toArray(new IMethod[fCreatedMethods.size()]);
		}