Statechart
Diagram

The Statechart
diagram describes the life cycle of an object, and models classes that define status
conditions that objects may satisfy during their existence.
The following concepts can be used
to build Statechart diagrams with Open ModelSphere:
- State

- Human Actor

- System
(non-human actor)

- Transition

- Pseudo
states:
- Start

- End

- Decision

- Synchronization
bar
To
add an
actor 
- Select the actor
creation tool
located in the UML modeling toolbar.
- With the actor
tool selected, click anywhere inside the diagram window.
To
add a State
- Select the State
creation tool
located in the UML modeling
toolbar.
- With the State
tool
selected, click anywhere inside the diagram window.
Note that State and Pseudo
States have the same caracteristics and can be created the same way.
To add an Object (non human actor)

- Select the object creation tool
located in the UML modeling
toolbar.
- With the object creation tool selected, click anywhere
inside the diagram window.
To add a Transition

- Select the Transition creation tool
located in the UML
modeling toolbar (
or
)
- Choose one of the Transition displayed
in the toolbar.
- With the Transition tool selected,
click somewhere in the
middle of the source State, then, in the middle of the target State.
Assign a UML
sterotype to an object
- Select any object from the diagram or
from the explorer.
- In the design
pannel,
choose from the list UML Sterotype.
Assign a
UML constraint to an object
- From the explorer or from the diagram
right-click an object and
click the properties tool

- Select the UML Constraint tab,
click the Link button.
- Select a UML Constraint from
the pop-up window.
The common
concepts such as Semantic
Links and Graphical
Notes can also be used to
enrich your Statechart diagrams.