Prev | Next |
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 View, Model Package or lower-level Package. In the process you can automatically:
- Create a Package using a specific Model Pattern
- Create a child diagram for the Package
- Add the new Package to the Version Control system that its parent object is under
Access
Ribbon |
Design > Model > Add > Package |
Context Menu |
Browser window | Right-click on Package | Add a Package |
Keyboard Shortcuts |
|
Other |
Browser window caption bar menu | New Package () |
Add a Package to the model hierarchy
Option |
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 button and select the correct Package. |
|
Name |
Defaults to the automatic name, either 'Package n' or, if you have an autonaming scheme turned on, the defined name. If necessary, overtype this name with the preferred 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. |
|
Add to Version Control |
(Available if you are adding this Package to a parent object that is under Version Control.) Select this checkbox to add the new Package to the same Version Control system, deselect the checkbox to exclude the Package from Version Control. |
|
OK |
Click on this button to create the Package in the Browser window. If you selected the 'Select and Apply Model Pattern' radio button, the Model Wizard screen 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 Browser window under the selected parent Package or View. |
Model Wizard Add New Diagrams |
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
- If the change is not immediately visible in the Browser window, click on the parent Package and press the key to refresh it
- In a multi-user environment, other users do not see the change until they also press the F5 key or reload their project