Exercise 1 - Constructing a Use Case Diagram
This exercise provides a walk-through the process to create a Use Case Diagram. The following example depicts the completed diagram for this exercise.
1. Click Graphic Editors from the main Rational Statemate window. The Graphics Editor window allows you to open any available charts as well as create new charts.
2. Enter the following information to create a Use Case diagram (chart) called REAR_DEFOG_UCD. Refer to the following figure.
●
Type: Use-Case Diagram
●
Usage: Regular - It defaults to this value based upon Type.
●
Name Pattern: REAR_DEFOG_UCD
3. Click New from the Open Chart window. The use-case diagram displays and is available for editing.
4. Click Create Boundary Box.
5. To draw the Boundary Box for the REAR_DEFOG_UCD, place the cursor at the location for the upper, left-hand corner of the boundary box and click and drag to the location of the lower, right-hand corner of the boundary box.
6. With the Create Boundary Box icon selected, enterREAR_DEFOG_UCD
.
●
Click the location you want the text to reside within the boundary box. If a name already exists, double-click on the text to rename the item.
●
Enter the names for boxes using lowercase letters only! Rational Statemate, where appropriate, automatically performs the conversion to uppercase letters. Do not select the CAPS LOCK key before typing. Doing so might prevent you from making further selections within the tool.
7. Click Create Use-Case.
9. Name one use-case DEFOG_REAR_WINDOW and the other CUSTOMER_INDICATION.
10.
12.
●
'LOAD_MONITOR'
●
'SPEED_SENSOR'
●
'OPERATOR'
●
'REAR_DEFOG_RELAY'.
Note: When an actor is added to a diagram, it is given a default name. To change the name of an actor, double-click on the text and enter the new information.
13. Select Create Association.
14.
15. Select File > Save from the diagram and then File > Exit.