public class UpdateRunner extends AbstractUpdateRunner
AbstractRefactoringOperation| Constructor and Description |
|---|
UpdateRunner(IUpdate[] updates)
Constructor that runs the refactoring operation in a new editing domain.
|
UpdateRunner(org.eclipse.emf.transaction.TransactionalEditingDomain domain,
IUpdate[] updates)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.Object |
getUIShell()
Returns the Shell or null.
|
protected IUpdate[] |
getUpdates() |
protected org.eclipse.core.runtime.IStatus |
postCM(org.eclipse.core.runtime.IProgressMonitor monitor)
Implementors can perform any task that is to take place after the main
CM task.
|
protected org.eclipse.core.runtime.IStatus |
preCM(org.eclipse.core.runtime.IProgressMonitor monitor)
Implementors can perform any task that is to take place before the main
CM task.
|
complete, init, refactor, refactorReferences, refactorTargetElements, search, traceaddAffectedResource, addAffectedResource, addFile, addResource, clearAffectedResources, getAdaptable, getAffectedResources, getChangeDeltaCollector, getEditingDomain, performCM, removeAffectedResource, run, save, save, setChangeDeltaCollectorpublic UpdateRunner(org.eclipse.emf.transaction.TransactionalEditingDomain domain,
IUpdate[] updates)
domain - default TranactionalEditingDomain in which this refactoring
operation is to be run.updates - IUpdate array of updates to be performedpublic UpdateRunner(IUpdate[] updates)
updates - IUpdate array of updates to be performedprotected IUpdate[] getUpdates()
getUpdates in class AbstractUpdateRunnerprotected org.eclipse.core.runtime.IStatus preCM(org.eclipse.core.runtime.IProgressMonitor monitor)
AbstractRefactoringOperationpreCM in class AbstractRefactoringOperationmonitor - IProgressMonitorprotected org.eclipse.core.runtime.IStatus postCM(org.eclipse.core.runtime.IProgressMonitor monitor)
AbstractRefactoringOperationpostCM in class AbstractRefactoringOperationmonitor - IProgressMonitorprotected java.lang.Object getUIShell()
AbstractRefactoringOperationgetUIShell in class AbstractRefactoringOperation