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 Package using a specific Model Pattern |
· | Create a child diagram for the Package |
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 |
---|---|---|
Owner |
Displays the name of the currently-selected Package or View, to which you are adding the new Package. If this is not the required owner Package, click on the
|
|
Name |
Defaults to Package1. Overtype this with the name of the new Package.
|
|
Select and Apply Model Pattern
|
Select this radio button to create the new Package from a Model Pattern. |
|
Create diagram |
Select this radio button if you want to immediately create a child diagram for the Package.
|
|
Package Only |
Select this radio button if you want to just create a Package.
|
|
OK |
Click on this button to create the Package in the Project Browser. If you selected the Select and Apply Model Pattern radio button, the Model Wizard dialog displays. Select the appropriate Technology and select the checkbox against the Model Pattern (in the Name panel) to import. If you selected the Create diagram radio button, the New Diagram dialog displays. Provide a name for the diagram and select the Technology and type. The new Package is inserted into the Project Browser under the selected parent Package or View.
|
|
Cancel |
Click on this button to abort the changes you have made and close the dialog.
|
|
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 |
· | In a multi-user environment, other users do not see the change until they reload their project |
Learn more