@OpenApi public abstract class AbstractExecutionEngineDescriptor extends java.lang.Object implements ExecutionEngineDescriptor
ExecutionEngineDescriptor
.
It provides some default value to the extended engine descriptor.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 |
canUserTriggerEvents()
Return
true if the execution engine can generate the events to be triggered by user. |
javax.swing.ImageIcon |
getEngineIcon()
Returns an engine's icon.
|
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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
canExecute, createEngine, getEngineName
@OpenApi public javax.swing.ImageIcon getEngineIcon()
ExecutionEngineDescriptor
getEngineIcon
in interface ExecutionEngineDescriptor
@OpenApi public boolean canAnimate(PresentationElement element)
ExecutionEngineDescriptor
true
if the specified element
can be animated (activated), otherwise
false
.canAnimate
in interface ExecutionEngineDescriptor
element
- the presentation element to be checked.true
if the specified element
can be animated (activated), otherwise
false
.@OpenApi public boolean isAutoDiagramOpened()
ExecutionEngineDescriptor
isAutoDiagramOpened
in interface ExecutionEngineDescriptor
@OpenApi public boolean canDebug()
ExecutionEngineDescriptor
true
if the execution engine can debug.
It's related with Goto Selection, Step Into, and Step Over.canDebug
in interface ExecutionEngineDescriptor
true
if the execution engine can debug.@OpenApi public boolean canUserTriggerEvents()
ExecutionEngineDescriptor
true
if the execution engine can generate the events to be triggered by user.
It allows to provide events in the simulation console.canUserTriggerEvents
in interface ExecutionEngineDescriptor
true
if the execution engine can generate the events to be triggered by user.@OpenApi public boolean isDiagramPerSession()
ExecutionEngineDescriptor
true
if the simulation session is created for running only one diagram.isDiagramPerSession
in interface ExecutionEngineDescriptor
true
if the simulation session is created for running only one diagram.@OpenApi public boolean isHasIdle()
ExecutionEngineDescriptor
isHasIdle
in interface ExecutionEngineDescriptor
@OpenApi public boolean isFindEngine(Element element)
ExecutionEngineDescriptor
isFindEngine
in interface ExecutionEngineDescriptor
element
- the element being executed.