};
}
	private List createUndoList(ChangeContext context, IProgressMonitor pm) throws JavaModelException {		List undoList= null;		try {			undoList= new ArrayList(fChanges.size());			pm.beginTask("", fChanges.size()); //$NON-NLS-1$			for (Iterator iter= fChanges.iterator(); iter.hasNext();) {				try {					IChange each= (IChange)iter.next();					each.perform(context, new SubProgressMonitor(pm, 1));					undoList.add(each.getUndoChange());					context.addPerformedChange(each);				} catch (Exception e) {					handleException(context, e);				}			};			pm.done();			Collections.reverse(undoList);			return undoList;		} catch (Exception e) {			handleException(context, e);		}		if (undoList == null)			undoList= new ArrayList(0);		return undoList;		}