Action

Actions can be attached to any widget so that actions can be executed from that widget. They are configured from the Actions Property. There are several types of actions that can be associated with any type of widget. You may also add customzied action through Eclipse plugin mechanism.

Configure Actions

Actions are configured from the Actions property of widget. The first action can be hooked with the mouse click event, which means clicking on the widget at Runtime will execute the first action.

Invoke Action at Runtime

At Runtime, you can execute an action by right clicking on the widget and selecting the action from Actions submenu. If you selected the option Hook the first action to the mouse click event on widget in the actions config dialog, you can simply execute the first action by clicking on the widget.

Actions may also be invoked from script by calling the method executeAction. For example:

widget.executeAction(0); //execute the first attached action