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:
- Open the transformation
parameters editor. You can open an existing TPM
file or right-click a UML file and then click Edit Transformation
Parameters.
- 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.
- If you want to apply all of the transformations
specified in the TPM file,
follow these steps:
- Select the Use default configuration check
box.
- On the Default tab, select the check boxes next to the
UML elements you
want to transform.
- In the Target Container field,
select the project
into which you want to create the EGL code.
- Click Finish.
- If you want to apply only some of the transformations
specified in the
TPM file, follow these steps:
- Clear the Use default
configuration check box.
- On each transformation's
tab, select a Target Container into
which you want to create the EGL code.
- On each transformation's
tab, select the Source Elements from
the UML file that you want to transform with that transformation.
- Click Finish.