Transformation Templates

Return to Introduction  Previous page  Next page

To modify Transformation templates:

1.Select the Settings | Transformation Templates menu option. The Transformation Templates Editor window displays.
2.In the Language field, type or select the name of the transformation to modify.
3.Select a template from the Templates list, and edit its contents in the editor pane.
4.Click on the Save button.

TransformationTemplates

Field/Button

Description

Language

Select the name of the transformation.

Template

Displays the contents of the active template. Provides the editor for modifying templates.

Templates

Lists the base transformation templates. The active template is highlighted. The Modified field indicates whether you have changed the default template for the current transformation.

New Transformation Type

Creates a new transformation.

Stereotype Overrides

Lists the stereotyped templates, for the active base template.

The Modified field indicates whether you have modified a default stereotyped template.

Add New Stereotyped Override

Invokes a dialog for adding a stereotyped template, for the currently selected base template.

Add New Custom Template

Invokes a dialog for creating a custom stereotyped template.

Help

Launches the Enterprise Architect help file.

Get Default Template

Updates the editor display with the default version of the active template.

Save

Overwrites the active templates with the contents of the editor.

Delete

If you have overridden the active template, the override is deleted and replaced by the corresponding default transformation template.

Note that the Transformation Template mechanism is based very strongly on the Code Generation Template mechanism. For further information on Transformation Templates see the Code Template Editor section of the Enterprise Architect Software Developers' Kit (SDK).