TOC PREV NEXT INDEX DOC LIST MASTER INDEX




Rose > Imports Diagram

The Control > Imports Diagram command creates a Rose model for the import closure of the selected view. In the Rose model, each package corresponds to an Apex view in the import closure, and the relationships are created among the packages to reflect the imports among those Apex views. This command is only available in an Apex directory viewer.

To apply this operation to an Apex view from an Apex directory viewer, complete the following steps:

1. . Select the view name for the operation. If no item is selected, the view associated with the viewer is selected by default.

2. . Click on Control > Imports Diagram.

This command takes the following actions:

1. . Collects and processes the imports, including both direct imports and closure imports, for the selected view.

2. . Creates a temporary Rose model file, based on the imports information. (The temporary file is stored in subdirectory .Rational/tmp of the user's home directory.)

3. . Brings up the Rose server if it is not already running.

4. . Opens a temporary Rose model in the Rose window.

An example of this command is shown on the next several pages.

The first figure shows the imports summary of a view displayed when Control > Show > Imports (Apex/Summit) is selected

.

This figure displays the class diagram of the resulting Rose model after Rose:Imports Diagram is executed.


Rational Software Corporation 
http://www.rational.com
support@rational.com
techpubs@rational.com
Copyright © 1993-2001, Rational Software Corporation. All rights reserved.
TOC PREV NEXT INDEX DOC LIST MASTER INDEX TECHNOTES APEX TIPS