org.topbraidcomposer.core.change
Class TBCChangeEngine
java.lang.Object
org.topbraid.core.change.AbstractChangeEngine
org.topbraidcomposer.core.change.TBCChangeEngine
- All Implemented Interfaces:
- org.eclipse.core.commands.operations.IUndoContext, IChangeEngine
public class TBCChangeEngine
- extends AbstractChangeEngine
|
Field Summary |
boolean |
directMode
A flag to always force the execution of changes in the current thread. |
| Methods inherited from class org.topbraid.core.change.AbstractChangeEngine |
addChangeEngineListener, addRenamingChangeListener, clearHistory, commitBufferingGraph, dispose, execute, execute, execute, execute, execute, getInstanceCountProvider, getLabel, getOperationHistory, getOperations, getUndoContext, matches, notifyListeners, notifyRenamingChangeListeners, recordTripleChange, removeChangeEngineListener, removeRenamingChangeListener, reportGraphChange, setIgnoreMode, updateInferences |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
directMode
public boolean directMode
- A flag to always force the execution of changes in the current thread.
This is needed to support mechanisms such as the LZX servlet.
TBCChangeEngine
public TBCChangeEngine(org.eclipse.ui.IWorkbench workbench)
asynchExecAfterNextOperation
public void asynchExecAfterNextOperation(java.lang.Runnable r)
createChangeOperation
protected ChangeOperation createChangeOperation(IChange change)
- Overrides:
createChangeOperation in class AbstractChangeEngine
execute
public void execute(ChangeOperation operation,
org.eclipse.core.runtime.IProgressMonitor monitor,
java.lang.Runnable andThen)
- Specified by:
execute in interface IChangeEngine- Specified by:
execute in class AbstractChangeEngine
postProcessOperation
protected void postProcessOperation(ChangeOperation operation,
org.eclipse.core.runtime.IProgressMonitor monitor)
- Overrides:
postProcessOperation in class AbstractChangeEngine
redo
public void redo(ChangeOperation operation)
throws org.eclipse.core.commands.ExecutionException
- Specified by:
redo in interface IChangeEngine- Overrides:
redo in class AbstractChangeEngine
- Throws:
org.eclipse.core.commands.ExecutionException
runAndThen
protected void runAndThen(ChangeOperation operation,
java.lang.Runnable andThen)
- Overrides:
runAndThen in class AbstractChangeEngine
undo
public void undo(ChangeOperation operation)
throws org.eclipse.core.commands.ExecutionException
- Specified by:
undo in interface IChangeEngine- Overrides:
undo in class AbstractChangeEngine
- Throws:
org.eclipse.core.commands.ExecutionException
updateInferenceModels
public void updateInferenceModels(org.eclipse.core.runtime.IProgressMonitor monitor)