Organizing UML 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.

About this task

To group model elements in a package:

Procedure

  1. In the Project 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 Project Explorer view, click a model element and drag it onto the package.
  5. Repeat step 4 to add other model elements to the package.

Results

The grouped model elements are displayed under the new package by type and any references to the model elements are maintained.

Feedback