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 Object[] getChildren(Object parentElement) {
			if (parentElement instanceof IField) {
				return (Object[]) fTreeMap.get(((IField) parentElement).getElementName());
			}
			return null;
		}
		public Object getParent(Object element) {
			return null;
		}
		public boolean hasChildren(Object element) {
			return element instanceof IField;
		}
		public Object[] getElements(Object inputElement) {
			if ((inputElement != null) && (inputElement instanceof FieldContentProvider)) {
				Object[] o = fTreeMap.keySet().toArray();
				Object[] fields = new Object[o.length];
				for (int i = 0; i < o.length; i++) {
					fields[i] = fFieldMap.get(o[i]);
				}
				return fields;
			}
			return null;
		}
		public void dispose() {
		}
		public void inputChanged(Viewer viewer, Object oldInput, Object newInput) {
		}
	}
	
	private static class Methods2Field {