Working with the Action Script Editor
The xUML Action Language is case sensitive. Every statement must end with a semicolon. Operations, functions, and macros of the action language are highlighted (see Highlighting in the Action Script Editor for details).
To open the Action Script Editor, use quick action Open model of the corresponding Action Script operation:
The editor will open in a new tab and you can start entering your Action Script:
To create an Action Acript statement, for instance a create assignment statement, start by typing the create keyword. All available statements matching your input are listed:
Add a semicolon to finish the statement:
You can also select one of the listed statements to use it:
The statement is transferred to the editor. Placeholders indicate where you need to adapt the statement. For an easy editing, use the tab key to switch between placeholders:
The Toolbar
The action script editor features a toolbar in the center top of the editor:
Icon | Description |
---|---|
Undo the previous action you performed in...
If you click Undo in one of the Designer editors, this may also have an effect on the Implementation folder in the Service panel if you performed your previous action there. | |
Redo your previous action (after undo). | |
Jump to the related Action Script operation in the service panel. | |
Use this option to open the Action Script Language documentation. |
Highlighting in the Action Script Editor
The highlighting of keywords supports you during your work in the editor:
Color | Content |
---|---|
Blue | Action Script Keywords (for a list of reserved keywords see Basics of the Action Script Language > Reserved Keywords) |
Red | Constants |
Maroon | Strings (single- and double-quoted) |
Green |
|