Rational Software Corp.

TOC PREV NEXT INDEX



Assigning a Class to Another Logical Package

Assigning a Class to Another Logical Package

Every class is assigned to a logical package. When you create a class using a creation tool from the class diagram toolbox, the class is assigned to the logical package containing the class diagram. For example, a class diagram named Main is directly contained by the logical package named LinkManager. All of the classes depicted on Main are assigned to LinkManager, except the class SafeStorage. This is assigned to logical package StorageManagement. Rational Rose annotates the icon representing SafeStorage with the phrase from Storage Management.

To re-assign a class from one logical package to another:

1 Select an icon (or icons) representing the class in a diagram contained by the logical package to which the class should be assigned. (You might need to create such a diagram or icon if one does not currently exist.)

2 Click Edit > Relocate.

    Rational Rose updates all class diagrams to reflect the new assignment. Like classes, logical packages are also assigned to logical packages--permitting nesting to an arbitrary depth. You can assign and reassign logical packages and classes.


Rational Software Corporation  http://www.rational.com
support@rational.com
docs@us.ibm.com
Copyright © 1993-2000, Rational Software Corporation. All rights reserved.
TOC PREV NEXT INDEX