# Activity control node

The activity control nodes are :

- initial

- final

- flow final

- merge

- decision

- fork

- join

In the browser a activity control node is placed under its activity or region and may contain flows (when this is legal).

The activity control node's properties will be exposed below.

## Menus

The activity control node menu appearing with a right mouse click on its representation in the browser is something like these, supposing the activity control node not read-only nor deleted (see also menu in a diagram) :

### Menu : edit

edit allows to show/modify the activity control node properties. In case the activity control node is read-only, the fields of the dialog are also read-only.

The proposed stereotypes are the default one specified through the Default stereotypes dialog more the current one (empty here). It is possible to choose into the list or to give a new one, or to empty it.

The editor button visible above and associated here to the description, allows to edit the description in an other window, or to call an external editor (for instance Xcoral) specified through the environment variable BOUML_EDITOR. Note that this external editor have to create an own window, its parameter is the pathname of the file containing the description, its execution is done in parallel with BOUML which looks each second at the file contents to get the new definition until the dialog is closed (I do not like very much this polling but this works even QT isn't compiled with the thread support).

### Menu : duplicate

The menu entry duplicate clone the activity control node without its children

### Menu : referenced by

To know who reference the current activity control node through a transition.

### Menu : mark

See mark

### Menu : delete

The menu entry delete is only present when the activity control node is not read-only.

Delete the activity control node and all its children, and all the representation of them in the opened diagrams. After that it is possible to undelete them (from the browser) until you close the project : obviously the deleted items are not saved !

### Menu : tool

The menu entry tool is only present in case at least a plug-out may be applied on a activity control node of this kind. The selected tool is called and applied on the current activity control node.

## Default stereotypes

The dialog allowing to set the default stereotypes :

## Drawing

A activity control node is drawn in a diagram depending on its kind :

A right mouse click on a activity control node in a diagram calls the following menu (supposing the activity control node editable) :

Previous : activity object

Next : flow