Creating instances of the transformation provider extension point in plug-ins

You can add instances of the extension point named com.ibm.xtools.transform.core.transformationProviders to existing Eclipse plug-ins. This extension point facilitates the creation and configuration of transformation providers for the transformation service. You must create an instance of this extension point before adding transformation providers to the plug-in.

Before you begin

You must have a plug-in manifest file open in the manifest editor.

About this task

Typically, you create one instance of a transformation provider extension point in a plug-in; although, you can add multiple instances depending on how you want to group the transformation providers and transformations 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.transformationProviders and complete one of the following steps:
    • To create an instance of the transformation provider extension point and provide values for a new Transformation Provider element, in the Available templates for xtools transformation providers pane, click Transformation Providers and complete the remaining pages in the Transformation Providers 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 the transformation provider extension point, an abstract transformation provider implementation, and a transformation element that contains default values, click Finish.

Results

An extension point named com.ibm.xtools.transform.core.transformationProviders, a corresponding transformation provider element, and a transformation element are added to the plug-in manifest file, and are displayed on the Extensions tab, in the pane under the All Extensions area. In the Eclipse plug-in, the src/project name/transformationProvider folder contains the generated Java™ files for the transformation provider and the transformation element.
Note: If you create a plug-in by using the Plug-in with Transformation template, after you complete the pages in the New Transformation Authoring Project wizard, an instance of the extension point named com.ibm.xtools.transform.core.transformationProviders and a transformation provider are created in the plug-in manifest file by default.

Feedback