ShallowHistory

StarUML

ShallowHistory

Top  Previous  Next

Semantics

When reached as the target of a transition, shallow history restores the state within the enclosing composite state that was active just before the enclosing state was last exited. Does not restore any substates of the last active state.

Procedure for creating shallow history

In order to create ShallowHistory,

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

ch05_544

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

ch05_545

State History State :

Procedure for creating final state from state

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

1.Double-click state. At the quick dialog, enter one of "-(h)", "-(H)",  "-(h*)",  "-(H*)" string.

ch05_546

2.Press [Enter] key and history with outgoing transition from selected state is created.

ch05_547