Applying transformation profiles

When you are finished specifying the parameters for the transformation, you can apply the transformation and create the source code.

Follow these steps to transform a UML file into source code using the transformation parameters specified in a TPM file:

  1. Open the transformation parameters editor. You can open an existing TPM file or right-click a UML file and then click Edit Transformation Parameters.
  2. In the editor, click Run Transformations.

    The Run Transformations window allows you choose which UML elements will be transformed and which transformations will be used on those elements. The window has a Default tab, as well as a tab for each transform specified in the TPM file.

  3. If you want to apply all of the transformations specified in the TPM file, follow these steps:
    1. Select the Use default configuration check box.
    2. On the Default tab, select the check boxes next to the UML elements you want to transform.
    3. In the Target Container field, select the project into which you want to create the EGL code.
    4. Click Finish.
  4. If you want to apply only some of the transformations specified in the TPM file, follow these steps:
    1. Clear the Use default configuration check box.
    2. On each transformation's tab, select a Target Container into which you want to create the EGL code.
    3. On each transformation's tab, select the Source Elements from the UML file that you want to transform with that transformation.
    4. Click Finish.

Feedback