Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.
Import Controlled Model Branch
Applying version control to an Enterprise Architect model can result in many XMI files placed under version control. It could then be hard to locate and import the file corresponding to the root of a particular model branch. Enterprise Architect's Model Branch files overcome this problem by simplifying the retrieval of package hierarchies for use in other models.
The Import a Model Branch command uses Enterprise Architect's Model Branch Files, of which there are few, to retrieve information about the root package file and import the model branch. The Model Branch File records information such as the name and type of the version control configuration for the selected package, and the relative filename of the version controlled XMI file associated with the package.
Use to
• | Retrieve a model branch created by another user in a private copy of a model, to import it into your own private copy of the same model |
• | Retrieve a model branch that is common in many models, for inclusion in a new model |
How to
Step |
Action |
See also |
||||
1 |
Ensure that you have:
|
|||||
2 |
Select the package into which the model branch is to be imported.
|
|
||||
3 |
Right-click on the package and choose Package Control | Import a Model Branch. The Import VC Model Branch dialog displays.
|
|
||||
4 |
Choose one of either:
|
|||||
5 |
Click the drop-down arrow in the Select a Version Control Configuration field and select the configuration A list of EAB files controlled by that configuration is displayed.
|
|
||||
6 |
Select the Model Branch File from the Select a Model Branch (.EAB) file list.
|
|
||||
7 |
Click OK. Enterprise Architect imports the root package specified in the Model Branch File and recursively imports and populates all the sub-packages contained in the root package.
|
|
Notes
• | The Import a Model Branch command is only enabled for packages that you (the current user) are able to edit, as the imported model branch is inserted into the model under the selected package |
Learn more