Xtools Transformation Providers

com.ibm.xtools.transform.core.transformationProviders

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.

<!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*)>

<!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>


<!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">


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>

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

No information at this time.


© Copyright 2004 IBM Corporation. All Rights Reserved.