You can specify that a transformation is the reverse of
another transformation. Reverse transformations enable you to recover
changes to the source model or recover changes to the target model.
This functionality is useful when you develop models concurrently.
After you specify a reverse transformation, you can enable the reverse
transformation in the transformation configurations that you create.
Before you begin
The forward and reverse transformation must be available in
the list of installed transformations or visible on the Name and Transformation
page of the New Transformation Configuration wizard. The transformations
must be bound to a capability.
About this task
To specify that a transformation is the reverse of another
transformation:
Procedure
- In the navigation view, double-click the plug-in manifest
file in the plug-in that contains the forward transformation.
- In the plug-in manifest editor, on the Extensions tab,
in the All Extensions area, expand com.ibm.xtools.transform.core.transformationProvider,
and click the appropriate Transformation element.
- In the Extension Element Details area,
in the reverseTransformationId field, specify
the unique identifier (ID) of the reverse transformation.
Tip: The ID of the reverse transformation is available on the
Overview page of the plug-in manifest of the reverse transformation.
- Click .
Results
After you build and deploy the plug-in, you can enable the
reverse transformation the next time that you create a transformation
configuration. To enable the reverse transformation, on the Name and
Transformation page of the New Transformation Configuration wizard,
select the
Enable reverse transformation check
box. When you edit a transformation configuration, on the Main page
of the transformation configuration editor, select the
Enable
reverse transformation check box.
Note: Some information, such as links to Eclipse
documentation or to developer guides, is available only from the help
topics that are installed with the product.