This example demonstrates model fragment functionality.
To install this example, open the examples wizard: File -> New -> Example. Then select Fragment Example under the RMP (DevOps Modeling Platform) Plug-ins -> UML Modeler Plug-ins category.
The example, once installed, provides an action under the Sample menu item called Model Fragment Example.
When the action is invoked, it creates a model, adds a package, adds a class to the package, fragments both the package and model, then absorbs the package fragment.
The example Java code FragmentExample.java
also demonstrates the
use of various fragment-related APIs.
Refer to the source code of this example if you need to fragment a model or manipulate model fragments programmatically.