Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.

Transformation Templates

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 and also - for information on the Common Code Editor and intellisense - the Code Editors topic.

To modify Transformation templates:

  1. Select the Settings | Transformation Templates menu option. The Transformation Templates Editor 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

Option

Use to

Language

Select the name of the transformation.

Template

Display the contents of the active template. Provide the editor for modifying templates.

Templates

List 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

Create a new transformation.

Stereotype Overrides

List the stereotyped templates, for the active base template.

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

Add New Stereotyped Override

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

Add New Custom Template

Invoke a dialog for creating a custom stereotyped template.

Help

Launch the Enterprise Architect Help topic for this dialog.

Get Default Template

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

Save

Overwrite the active templates with the contents of the editor.

Delete

If you have overridden the active template, delete the override and replace it with the corresponding default transformation template.