Creating instances of transformation extensions extension points in plug-ins

You can add instances of the extension point named com.ibm.xtools.transform.core.transformationExtensions to existing Eclipse plug-ins. This extension point facilitates the configuration of extensions to transformations that are registered with the transformation service.

Before you begin

You must open the plug-in manifest file.

About this task

A transformation extension is the mechanism that enables you to add rules, content extractors, or transforms to an existing transformation. Typically, you create one instance of a transformation extension point in a plug-in; although, you can add multiple instances depending on how you want to group the transformation extensions in the plug-in.

Procedure

  1. In the plug-in manifest editor, on the Extensions tab, beside the pane in the All Extensions area, click Add.
  2. In the New Extension wizard, on the Extension Point Selection page, in the Extension Point Selection window, on the Extension Points tab, click com.ibm.xtools.transform.core.transformationExtensions and complete one of the following steps:
    • To create an instance of a transformation extension point; provide values for a new transformation extension element; and add rules, content extractors, and transforms to the transformation extension element; in the Available templates for xtools transformation extensions pane, click Transformation Extensions and complete the remaining pages in the Transformation Extensions wizard. The src/m/n.rules folder and the src/m/n.extractors folder, where m represents the project name and n represents the name of the transformation extension, contain the Java™ implementations of the rules and extractors that you define by using the wizard.
      Note: For more information about the other fields on this page and the remaining pages in the wizard, see the context-sensitive help by pressing F1 when that page is displayed in the product. If you are using the Linux platform, for more information about the other fields on this page and the remaining pages in the wizard, see the context-sensitive help by pressing Shift+F1 when that page is displayed in the product.
    • To create an instance of a transformation extension point, a Transformation Extension element, and an ExtendTransform element, all with default names, click Finish.

Results

An extension point named com.ibm.xtools.transform.core.transformationExtensions and a corresponding transformation extension element are added to the plug-in manifest file, and are displayed on the Extensions tab, in the pane under the All Extensions area.

Feedback