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.

Access:     Settings | Transformation Templates

To modify Transformation templates, follow the steps below

How To:

Step

Action

See also

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.

 

 

Reference:

Field

Usage

See also

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.

 

Learn More: