Prev | Next |
Import Controlled Model Branch
Applying Version Control to a model can result in many XMI files being placed under Version Control. It could then be hard to locate and import the file corresponding to the root of a particular model branch, if you want 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
Model Branch Files overcome this problem by simplifying the retrieval of Package hierarchies for use in other models. You use Enterprise Architect's Model Branch Files, of which there are few, to retrieve information about the root Package file - 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. The system then uses this information to import the branch into your model.
Prerequisites
Before you begin, you must have:
- An operational Version Control environment that can be accessed by Enterprise Architect, and
- All of the Version Controlled Package files and the model branch file associated with the model branch to import, in a valid and accessible working copy folder
Access
Context Menu |
Right-click on target Package for import > Package Control > Import a Model Branch |
Import a Model Branch
Step |
Action |
See also |
---|---|---|
1 |
On the 'Import VC Model Branch' dialog, either:
|
Manually Locating Model Branch Files |
2 |
Click on the drop-down arrow in the 'Select a Version Control Configuration' field and select a configuration. A list of .eab files controlled by that configuration is displayed in the 'Select a Model Branch (.EAB) file' list. |
|
3 |
Select the Model Branch File you need, then click on the . The system 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 your selected Package