Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.

Add a Package

Adding a Package to a model is a simple but versatile process. It is possible to add a new Package to a Root Package, View, Model Package, lower-level Package or element. In the process you can automatically:

Create a child diagram for the Package
Open the diagram as soon as it is created, and
Add the Package to the version control system that its parent component is under
 

Access    Project Browser | Right-click on Package | Add a Package ( Ctrl+W )

Add a Package to the model hierarchy

Field/Option/Button

Instruction

See also

Name

Type in the name of the new Package.

 

 

Automatically add new diagram

Select this checkbox if you want to immediately create a child diagram for the Package.

Otherwise, leave the checkbox unselected.

 

 

Open new diagram

If you have selected to create a new diagram, select this checkbox if you want to open the diagram as soon as the Package and diagram are created.

Otherwise, leave the checkbox unselected.

 

 

Add to Version Control

If you are adding a Package to a parent Package that is under version control, this option displays with the checkbox selected automatically.

If you want to exclude the new Package from version control, deselect it.

 

Version Control

OK

Click on this button to create the Package in the Project Browser.

The new Package is inserted into the tree at the current location and, if you selected to create a new diagram, the New Diagram dialog displays. Provide a name for the diagram.

If you have selected to put the Package under version control, the Package Control Options dialog displays. Set up the version control details for the Package

 

 

New Diagrams

 

Configure Packages

Notes

You can also add a new Package element by dragging the Package icon from the Toolbox into a diagram; in this case the Package is created under the diagram's owning Package, and is created with a default diagram of the same type as that in which the Package is created
In a multi-user environment, other users do not see the change until they reload their project
 

Learn more