Creating packages for object model diagrams

In IBM® Rational® Rhapsody®, every class belongs to a package. Classes drawn explicitly in a package are placed in that package in the model. Classes not drawn explicitly in a package are placed in the default package of the diagram. If you move a class to a package, it is also placed in that package in the model. If you do not connect this diagram to a package with the browser, the product assigns the diagram to the default package of the model.

Procedure

  1. Select the Package button Package button and click once in the diagram.
  2. To define the package, right-click the package and select Features to open the Features window.

Feedback