If a UML model contains damaged fragments, you can either
remove them from the model or repair them.
Before you begin
When you open a model that contains fragments, a list of the
fragments is displayed on the
Fragments page
of the
Model Editor view. Any damaged fragments
are also listed.
About this task
To repair a
damaged model fragment:
Procedure
- In the Model Editor view, from the Damaged
Fragments list, select a fragment and click Repair.
- In the Repair Fragment window, click Browse and
navigate to the correct fragment EFX file.
- Optional: To validate the updated file name,
select the Run Validation check box.
- Click OK.
Results
Note: When
you validate resources, the preference settings determines the scope
and actions that are taken to fix model fragments. To change preferences
click . The following table shows the options and behavior
settings for the resource resolution tool:
| Resolution Method |
Result |
| None |
No action occurs. |
| Prompt (default) |
You are prompted to either mark or repair broken
fragments. |
| Repair Broken Fragments |
Repair broken fragments will attempt to repair
the fragments with the following limitation:- The tool will searches only in the logical model for the new
location of the fragment.
- Repairs that occur are transient; the tool does not modify the
model to accommodate fixing read-only resources.
|
| Mark Broken Fragments |
The tool creates validation markers in the Problems
view. You can use the Quick Fix tool to correct
the problems. The tool searches the entire workspace and modifies
the model. |
| Check to Perform |
Result |
| Check Resources (default) |
The tool checks that the referenced resources
exist. |
| Check Resources and elements |
The tool checks references to the resources
and elements. |