To execute a model is to execute its behavior. In the following figure, the list of actions in the description and inheritance interface shows the list of actions of the model. When selected, the action can be opened.
The JavaAction shown in the figure below executes the createDialog static method of the xworker.swt. idgets. hellCreator class.
Groovy is a scripting language that is widely used in dynamic models, as you can see in the following figure.
Some actions are not written in scripting languages like Java or Groovy, so you can continue to find the final Java Action or Groovy Action by looking for their run methods.
The If action shown below is not Java or Groovy in itself, but its run method is written in Java.
Copyright © 2007-2019 XWorker.org 版权所有 沪ICP备08000575号