public abstract class AbstractUpdateRunner extends AbstractRefactoringOperation
AbstractRefactoringOperation
Modifier | Constructor and Description |
---|---|
protected |
AbstractUpdateRunner() |
protected |
AbstractUpdateRunner(org.eclipse.emf.transaction.TransactionalEditingDomain domain) |
Modifier and Type | Method and Description |
---|---|
protected org.eclipse.core.runtime.IStatus |
complete(org.eclipse.core.runtime.IProgressMonitor monitor)
Implementors can perform final cleanup in this method.
|
protected abstract IUpdate[] |
getUpdates() |
protected org.eclipse.core.runtime.IStatus |
init(org.eclipse.core.runtime.IProgressMonitor monitor)
Implementors can perform initialization tasks in this method and return
Status.OK_STATUS to allow the refactoring to continue.
|
protected org.eclipse.core.runtime.IStatus |
refactor(org.eclipse.core.runtime.IProgressMonitor monitor)
Implementors can perform the main refactoring task in this method.
|
protected void |
refactorReferences() |
protected void |
refactorTargetElements() |
protected org.eclipse.core.runtime.IStatus |
search(org.eclipse.core.runtime.IProgressMonitor pm)
Implementors can perform the search task in this method and populate the
list of affected resources.
|
static void |
trace(java.lang.String s)
Logs the specified message when the AUTOUPDATE_TRACE property is set.
|
addAffectedResource, addAffectedResource, addFile, addResource, clearAffectedResources, getAdaptable, getAffectedResources, getChangeDeltaCollector, getEditingDomain, getUIShell, performCM, postCM, preCM, removeAffectedResource, run, save, save, setChangeDeltaCollector
protected AbstractUpdateRunner(org.eclipse.emf.transaction.TransactionalEditingDomain domain)
protected AbstractUpdateRunner()
protected org.eclipse.core.runtime.IStatus search(org.eclipse.core.runtime.IProgressMonitor pm)
AbstractRefactoringOperation
search
in class AbstractRefactoringOperation
pm
- IProgressMonitorprotected org.eclipse.core.runtime.IStatus refactor(org.eclipse.core.runtime.IProgressMonitor monitor)
AbstractRefactoringOperation
refactor
in class AbstractRefactoringOperation
monitor
- IProgressMonitorprotected final void refactorReferences()
protected final void refactorTargetElements()
protected abstract IUpdate[] getUpdates()
protected org.eclipse.core.runtime.IStatus init(org.eclipse.core.runtime.IProgressMonitor monitor)
AbstractRefactoringOperation
init
in class AbstractRefactoringOperation
monitor
- IProgressMonitorprotected org.eclipse.core.runtime.IStatus complete(org.eclipse.core.runtime.IProgressMonitor monitor)
AbstractRefactoringOperation
complete
in class AbstractRefactoringOperation
monitor
- IProgressMonitorpublic static void trace(java.lang.String s)
s
- String specified message to be logged