Edit States In State Lifeline

Add States

  1. Click on the State Lifeline element. The New State button (New State Button) and Edit States button (Edit State Button) display at the bottom left of the element.
  2. Click on the New State button. The New State dialog displays.
     
    Newstate
     
  3. In the State field, type the name of the state.
  4. Click on the OK button.

Note:

You must add at least two states; for example, On and Off.

  1. As you add states, increase the height of the element by dragging a handle-box (Handlebox ) on the edge of the element.

Note:

You can also add states using the States tab of the Configure Timeline dialog. Add either:

Edit States

  1. Click on the State Lifeline element and click on the required state. The Edit State dialog displays.
  2. In the State field, change the name as required.
  3. Click on the OK button.
  4. If necessary, change the order of the states by either:
  • Clicking on the up or down arrows (downgreenarrowand upgreenarrow) beside each state name, or
  • Right-clicking on the state name and selecting the Move Up or Move Down context menu options.

Note:

You can also edit the states using the States tab of the Configure Timeline dialog.

Delete States

  1. Right-click on the state name. The context menu displays.
  2. Select the Delete option.

Alternatively:

  1. Click on the State Lifeline element.
  2. Hold down [Ctrl] and move the cursor over the state name. The cursor changes form (7).
  3. Click the mouse button. The state name is deleted.