@OpenApi public interface ExecutionEngineDescriptor
SimulationManager
.ExecutionEngine
,
SimulationManager
Modifier and Type | Method and Description |
---|---|
boolean |
canAnimate(PresentationElement element)
Returns
true if the specified element can be animated (activated), otherwise
false . |
boolean |
canDebug()
Return
true if the execution engine can debug. |
boolean |
canExecute(Element element)
Return
true if the specified element can be executed by an engine created from this
descriptor, otherwise false . |
boolean |
canUserTriggerEvents()
Return
true if the execution engine can generate the events to be triggered by user. |
ExecutionEngine |
createEngine()
Returns the newly created engine instance.
|
javax.swing.ImageIcon |
getEngineIcon()
Returns an engine's icon.
|
java.lang.String |
getEngineName()
Returns an engine's name.
|
boolean |
isAutoDiagramOpened()
Whether the diagram is opened automatically when showing animation.
|
boolean |
isDiagramPerSession()
Return
true if the simulation session is created for running only one diagram. |
boolean |
isFindEngine(Element element)
All executions mostly start with fUMLEngine.
|
boolean |
isHasIdle()
Return boolean value to indicate that the execution engine has the idle in the execution or not.
|
@OpenApi java.lang.String getEngineName()
@OpenApi javax.swing.ImageIcon getEngineIcon()
@OpenApi boolean canExecute(Element element)
true
if the specified element
can be executed by an engine created from this
descriptor, otherwise false
.element
- an element to be checked.true
if the specified element
can be executed by an engine created from this
descriptor, otherwise false
.@OpenApi ExecutionEngine createEngine()
@OpenApi boolean canAnimate(PresentationElement element)
true
if the specified element
can be animated (activated), otherwise
false
.element
- the presentation element to be checked.true
if the specified element
can be animated (activated), otherwise
false
.@OpenApi boolean isAutoDiagramOpened()
@OpenApi boolean canDebug()
true
if the execution engine can debug.
It's related with Goto Selection, Step Into, and Step Over.true
if the execution engine can debug.@OpenApi boolean canUserTriggerEvents()
true
if the execution engine can generate the events to be triggered by user.
It allows to provide events in the simulation console.true
if the execution engine can generate the events to be triggered by user.@OpenApi boolean isDiagramPerSession()
true
if the simulation session is created for running only one diagram.true
if the simulation session is created for running only one diagram.@OpenApi boolean isHasIdle()