Organizing model elements into packages

You can use a package to organize model elements in a model. Packages can contain any kind of model element, including other packages.

To group model elements in a package:
  1. In the Model Explorer view, open a model.
  2. Right-click the model; then click Add UML > Package.
  3. Type a name for the package and press Enter.
  4. In the Model Explorer view, click a model element and drag it over the package.
  5. Repeat steps 4 and 5 to add other model elements to the package.
The grouped model elements are displayed under the new package by type and any references to the model elements are maintained.
Related concepts
Model elements
Feedback
(C) Copyright IBM Corporation 2004, 2005. All Rights Reserved.