The UML States Palette allows the user to select drawing modes for creating the drawing objects necessary for editing a UML State Diagram.
This palette selects modes. When a mode is selected it remains in effect until another mode is selected. For instance, if the Insert State mode is selected, a new state is created on the UML State Diagram each time the mouse is dragged on the drawing panel.
Superstates may be expanded by clicking on "+" symbol in the upper left-hand corner of the selected superstate object. Expanded superstate will display enclosed statesand/or assigned Entry, Do and Exit property values.
To select and edit drawing objects, select the palette's Select Cells mode.
Insert States allows the specification of new states for the StateChart. Dragging the mouse on the StateChart drawing area instantiates a new state.
Insert Superstate allows the specification of a superstate. All of the states enclosed by dragging the mouse will be sub-states of the superstate. States can also be dragged to the superstate to specify that they are to be defined as sub-states.
Transitions are specified by selecting first the start state of the transition and then the ending state of the transition. A self-transition can be specified by clicking on the same state for the beginning and ending state.
NOTE: |
To open UML States Palette make sure you've switched over to a StateChart diagram by selecting corresponding tab at the bottom of UML Object Diagram Drawing area. This will open the States tab on the Palette panel. |
Fig.12 Opening UML States palette