Deleting Packages

See Also

You can delete a UML Modeling package from the Projects window or from the Diagram editor. As you delete a package that contains any diagrams, the IDE asks you to confirm the deletion.

To delete a package from the Projects window:

  1. In the Projects window, navigate to the node for the package you want to delete.
  2. Right-click the Package node and choose Delete.
    Two successive confirmation dialogs appear.
  3. To continue with the deletion, click Yes in each confirmation dialog.

    The package is deleted.

To delete a package from the Diagram editor:

  1. Display the diagram in the Diagram editor.
  2. In the Diagram editor, select the package and choose Edit > Delete.
    A confirmation dialog appears.
  3. If you want to delete all elements connected to the package, leave the checkbox selected.
    If you want to delete only the package but keep the elements it contains (elements connected to the package by nested links), deselect the checkbox.

    The package and, if appropriate, its contained elements are deleted. However, the diagram that contained the package remains, as do any elements that were not contained in the package.

See Also
Working With Packages

Legal Notices