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, trace
addAffectedResource, addAffectedResource, addFile, addResource, clearAffectedResources, getAdaptable, getAffectedResources, getChangeDeltaCollector, getEditingDomain, performCM, removeAffectedResource, run, save, save, setChangeDeltaCollector
public 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 AbstractUpdateRunner
protected org.eclipse.core.runtime.IStatus preCM(org.eclipse.core.runtime.IProgressMonitor monitor)
AbstractRefactoringOperation
preCM
in class AbstractRefactoringOperation
monitor
- IProgressMonitorprotected org.eclipse.core.runtime.IStatus postCM(org.eclipse.core.runtime.IProgressMonitor monitor)
AbstractRefactoringOperation
postCM
in class AbstractRefactoringOperation
monitor
- IProgressMonitorprotected java.lang.Object getUIShell()
AbstractRefactoringOperation
getUIShell
in class AbstractRefactoringOperation