Visual Modeling with Rational Rose 2002 and UML (3rd Edition)

I l @ ve RuBoard

Continuing with our analysis of the Add a Course Offering scenario, the diagram is shown in Figure 5-12.

Figure 5-12. Sequence Diagram for the Add a Course Offering Scenario

Class diagrams may also be attached to use case realizations. These diagrams contain a view of the classes participating in the use case.

CREATING A VIEW OF PARTICIPATING CLASSES IN RATIONAL ROSE

  1. Right-click on the use case realization in the browser to make the shortcut menu visible.

  2. Select the New:Class Diagram menu choice.

  3. While the diagram is still selected, enter the name of the class diagram.

  4. Double-click on the diagram in the browser to open the diagram.

  5. Click to select a class in the logical view of the browser and drag the class onto the diagram.

  6. Repeat step 5 for each additional class that is to be placed onto the diagram.

The View of Participating Classes for the Select Courses to Teach use case is shown in Figure 5-13.

Figure 5-13. View of Participating Classes

I l @ ve RuBoard

Категории