Absorbing a Fragment

Occasionally you may want to remove a fragment by absorbing it back into its containing fragment or model. To do this:

  1. Right-click on the fragmented package and selecting Refactor.
  2. Choose the Absorb Fragment option.
  3. When absorbing a fragment, you must ensure that a tick is placed in the 'Update references to elements in the fragment' box. This ensures that existing references in the fragment are not broken in the process of absorbing the fragment.

It is also possible to absorb all the fragments in a model at the same time. To do this:

  1. Right-click on a model and select Refactor.
  2. Select the Absorb All Sub-Fragments option. All the fragments in the model will then be absorbed. You should also ensure that you update element references when absorbing all the fragments in a model.