pm.subTask(NO_NAME);
	public IChange createChange(IProgressMonitor pm) throws JavaModelException {		try {			CompositeChange result= new CompositeChange(getName());			pm.beginTask(NO_NAME, 10);			pm.setTaskName(RefactoringCoreMessages.getString("SelfEncapsulateField.create_changes")); //$NON-NLS-1$			pm.subTask(NO_NAME); 	// XXX: http://bugs.eclipse.org/bugs/show_bug.cgi?id=6794			addChanges(result, new SubProgressMonitor(pm, 2));			TextChange[] changes= fChangeManager.getAllChanges();			SubProgressMonitor sub= new SubProgressMonitor(pm, 8);			sub.beginTask(NO_NAME, changes.length);			for (int i= 0; i < changes.length; i++) {				result.add(changes[i]);				sub.worked(1);			}			sub.done();			pm.done();			return result;		} catch (CoreException e) {			throw new JavaModelException(e);		}	}