use of org.osate.ge.internal.services.impl.SimpleActionExecutor in project osate2 by osate.
the class AgeDiagram method resetActionExecutor.
/**
* Resets the action executor. Sets the action executor to a default value which simply executes the action. Once this method has been
* called, {@link #setActionExecutor(ActionExecutor)} may be called again. The set -> reset mechanism is used to detect errors which
* would occur if the action executor was replaced. Diagrams editors typically create the action executor and the same action executor
* should be used for all actions related to the diagram.
* @see #setActionExecutor(ActionExecutor)
*/
public void resetActionExecutor() {
this.actionExecutor = new SimpleActionExecutor();
actionExecutorSet = false;
}
use of org.osate.ge.internal.services.impl.SimpleActionExecutor in project osate2 by osate.
the class DiagramUpdaterTest method beforeTest.
@Before
public void beforeTest() {
testModel.setModel(newBO(newBO(newBO(2), newBO(4), newBO(newBO(6), newBO(8), newBO(10))), newBO(newBO(12))));
diagram = new AgeDiagram();
diagramUpdater = new DiagramUpdater(testModel, testModel, new SimpleActionExecutor(), testModel, testModel);
}
Aggregations