You can save portions of a model in separate files or fragments.
This technique is particularly helpful when you work in a team development
environment.
Before you begin
You must have at least one UML model in your workspace, and the model
must contain a package, a classifier, or a diagram.
About this task
To create a model fragment:
Procedure
- In the Project Explorer view, right-click
a package, classifier, or diagram and then click .
- In the Save As Fragment window, specify a
parent folder and file name for the new fragment and click OK.
- Optional: In the Create Model Fragment window,
to update references to the elements in the fragment, select the check box.
- Optional: To view the list of updates to make, click Preview.
- Optional: Select the check boxes for the updates that
you want to make.
- Click OK.
Results
The selected element is saved as a model fragment, in an EFX file,
and the icon for the element in the Project Explorer view indicates that it
is a fragment.
Tip: You can also create model fragments in the Model
Editor view, on the Fragments page. Or, to
divide the model into fragments automatically by package, right-click the
model in the Project Explorer view and then click .