FinalState

StarUML

FinalState

Top  Previous  Next

Semantics

A final state represents the last or "final" state of the enclosing composite state. There may be more than one final state at any level signifying that the composite state can end in different ways or conditions. When a final state is reached and there are no other enclosing states it means that the entire state machine has completed its transitions and no more transitions can occur.

Procedure for creating final state

In order to create FinalState,

1.Click [Toolbox] -> [Statechart] -> [FinalState] button.

ch05_536

2.And click at the position where FinalState will be placed in the [main window].

ch05_537

Procedure for creating final state from state

In order to create final state with outgoing transition from selected object, use shortcut creation syntax.

1.Double-click state. At the quick dialog, After "-@" string, enter final state name or none.

ch05_538

2.Press [Enter] key and final state with ingoing transition from selected state is created.

ch05_539