Xtools Transformation Providers

Identifier:
com.ibm.xtools.transform.core.transformationProviders

Description:
This extension point facilitates the configuration of providers for the transformation service (com.ibm.xtools.transform.core.services.TransformationService).

The transformation service enables Xtools clients to register model transformations. These transformations can be used to convert the data from one model into a different model. Typically the source model is a UML based model with transformation specific profiles applied to that model. The target model is typically a code model such as Java or J2EE (EJBs). The user chooses which transformation is going to be applied to his source model.

Configuration Markup:

<!ELEMENT extension (TransformationProvider)>

<!ATTLIST extension

point CDATA #REQUIRED

id    CDATA #IMPLIED

name  CDATA #IMPLIED>


<!ELEMENT TransformationProvider (Priority , Policy? , Transformation+)>

<!ATTLIST TransformationProvider

class CDATA #REQUIRED>


<!ELEMENT Priority EMPTY>

<!ATTLIST Priority

name (Lowest|Low|Medium|High|Highest) >


<!ELEMENT Policy EMPTY>

<!ATTLIST Policy

class  CDATA #REQUIRED

plugin CDATA #REQUIRED>


<!ELEMENT Transformation (Property* , ExecutionList? , License*)>

<!ATTLIST Transformation

author                  CDATA #IMPLIED

name                    CDATA #REQUIRED

id                      CDATA #REQUIRED

keywords                CDATA #IMPLIED

description             CDATA #IMPLIED

document                CDATA #IMPLIED

extensible              (true | false) "true"

icon                    CDATA #IMPLIED

sourceModelType         CDATA #REQUIRED

targetModelType         CDATA #REQUIRED

groupPath               CDATA #REQUIRED

public                  (true | false) "true"

profiles                CDATA #IMPLIED

version                 CDATA #REQUIRED

transformGUI            CDATA #IMPLIED

reverseTransformationId CDATA #IMPLIED

supportsSilentMode      (true | false) "false"

supportsSourceOverride  (true | false) "true"

licenseId               CDATA #IMPLIED

licenseVersion          CDATA #IMPLIED>


<!ELEMENT Property EMPTY>

<!ATTLIST Property

name         CDATA #REQUIRED

id           CDATA #REQUIRED

description  CDATA #IMPLIED

value        CDATA #IMPLIED

metatype     CDATA #IMPLIED

metatypeData CDATA #IMPLIED

maxValues    CDATA #IMPLIED

delimiters   CDATA #IMPLIED

readonly     (true | false) "false">


<!ELEMENT ExecutionList (UseUtility* , UseTransform)>



<!ELEMENT UseUtility EMPTY>

<!ATTLIST UseUtility

id CDATA #REQUIRED>


<!ELEMENT UseTransform (EMPTY?)>



<!ELEMENT License EMPTY>

<!ATTLIST License

licenseId      CDATA #IMPLIED

licenseVersion CDATA #IMPLIED>

License information for features/components that license this plugin's transformation.



Examples:
Following is an example of a transformation provider extension:

   <extension
      point="com.ibm.xtools.transform.core.transformationProviders">
      <TransformationProvider
         class="my.plugin.providers.MyTransformationProvider">
         <Priority
            name="Highest">
         </Priority>
         <Transformation
            name="%transform.name"
            id="my.plugin.transformation.uml2.Java"
            author="Some Body"
            description="%transform.description"
            document="docs/transformDetails.html"
            version="1.0.0;
            keywords="UML, Java, AppType"
            sourceModelType="UML2 Resource"
            targetModelType="Java">
            <Property id="my.plugin.transformation.property1" name="%property1.name" value="defaultValue1" />
            <Property id="my.plugin.transformation.property2" name="%property2.name" value="defaultValue2" />
         </Transformation>
      </TransformationProvider>
   </extension>

API Information:
The value of the class attribute must be a subclass of com.ibm.xtools.transform.core.AbstractTransformationProvider.


Copyright (c) 2004, 2018 Model RealTime, HCL and others. All Rights Reserved.