Prev | Next |
Configure Timeline - States
You can manage states using the 'States' tab of the 'Configure Timeline' dialog. To display this dialog, either:
- Double-click on the Lifeline element
- Right-click on the Lifeline element and select the 'Properties' option, or
- On a Value Lifeline, click on the button
The 'Configure Timeline' dialog defaults to the 'States' tab.
All states currently defined for the Lifeline element are listed in the 'States' panel.
Add a new State
Step |
Action |
---|---|
1 |
In the 'State Name' field, type the name of the first new state in the Lifeline element; for example, 'WaitState'. |
2 |
Click on the . The state is added to the 'States' panel and (for a State Lifeline Element) to the diagram. |
3 |
Click on the . |
4 |
In the 'State Name' field, type the name of the next state in the Lifeline element. |
5 |
Repeat steps 2 to 5 until you have added all required states (you must add at least three to the Lifeline element). |
6 |
When you have added all the required states, click on the to close the 'Configure Timeline' dialog. |
Edit an existing state
Step |
Action |
---|---|
1 |
Click on the state in the 'States:' list. |
2 |
In the 'State Name' field, change the name of the state. |
3 |
Click on the . |
Delete an existing State
Step |
Action |
---|---|
1 |
Click on the state in the 'States:' list. |
2 |
Click on the . |
Change the order of States
Step |
Action |
---|---|
1 |
Click on the state in the 'States:' list. |
2 |
Click on the or buttons to move the state up or down the sequence. |