Creating transformation extensions

You can create transformation extensions that add functionality to the transformations provided in the Rational® modeling products or to custom transformations. For example, you might create a transformation extension that adds a common preface to the artifacts that a transformation generates. In a transformation extension, you can extend multiple transforms, but you can only extend one transformation.

About this task

To create a transformation extension, you must define an instance of the com.ibm.xtools.transform.core.transformationExtensions extension point and create a transformation extension.

When you create a transformation extension, you must specify the identifier (ID) of the transformation to extend, or the target transformation. You can obtain this information by viewing the list of installed transformations that is available in the product help, or by creating a transformation configuration for the target transformation. If you specify the ID of a transformation that is not registered, the transformation extension is not run by the target transformation.

After you complete these steps, you can add rules, extractors, transforms, and properties that implement the additional functionality.

To run the transformation extension, you must run the target transformation.

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.

Feedback