Note: You can also use the tool palette to create associations.

￿Create use cases (this sequence is similar to creating actors):

Expand 00 Enterprise Level Use Cases ${Building Blocks}.

Right-click ${use.case} and select Copy.

Right-click the Use Cases folder and select Paste.

Right-click the new ${use.case} folder that you pasted and select Edit Find/Replace (or press Ctrl-f).

Put ${use.case} in the Search string field and click Replace.

Type RegisterForAlert in the With field and click Replace All.

Repeat these steps to create use cases named GetLocalForecast and GetRawWeatherData.

Note: Use cases are not placed into the context diagram. Relationships between actors and the use case are created in the use case diagram.

￿Create associations between the use cases and the actors:

In the Project Explorer, expand the Use Case Diagrams folder.

Open (double-click) the Use Case Diagram.

In the Project Explorer, expand the GetRawWeatherData folder.

Select the GetRawWeatherData use case and drop it into the use case diagram (Figure 6-37).

Figure 6-37 Drag use case into the use case diagram

124Model Driven Systems Development with Rational Products

Page 140
Image 140
IBM SG24-7368-00 manual Expand 00 Enterprise Level → Use Cases → $Building Blocks, Drag use case into the use case diagram