protected void performChange(IDocument document) throws CoreException {
protected void performChange(IDocument document, IEditorPart activeEditor) throws CoreException {
	protected void performChange(IDocument document) throws CoreException {		Change change= null;		try {			change= getChange();			if (change != null) {				// close any open linked mode before applying our changes				LinkedEnvironment.closeEnvironment(document);								change.initializeValidationData(new NullProgressMonitor());				RefactoringStatus valid= change.isValid(new NullProgressMonitor());				if (valid.hasFatalError()) {					IStatus status= new Status(IStatus.ERROR, JavaPlugin.getPluginId(), IStatus.ERROR,						valid.getMessageMatchingSeverity(RefactoringStatus.FATAL), null);					throw new CoreException(status);				} else {					change.perform(new NullProgressMonitor());				}			}		} finally {			if (change != null) {				change.dispose();			}		}	}