ChangeContext context= new ChangeContext(new AbortChangeExceptionHandler()); change.aboutToPerform(context, new NullProgressMonitor()); change.perform(context, new NullProgressMonitor()); } catch(ChangeAbortException e) {
if (change != null) { ChangeContext context= new ChangeContext(new AbortChangeExceptionHandler()); change.aboutToPerform(context, new NullProgressMonitor()); change.perform(context, new NullProgressMonitor()); } } catch (ChangeAbortException e) {
	public void apply(IDocument document) {		Change change= null;		try {			change= getChange();						ChangeContext context= new ChangeContext(new AbortChangeExceptionHandler());			change.aboutToPerform(context, new NullProgressMonitor());			change.perform(context, new NullProgressMonitor());		} catch(ChangeAbortException e) {			JavaPlugin.log(e);		} catch(CoreException e) {			JavaPlugin.log(e);		} finally {			if (change != null) {				change.performed();			}		}	}