The Code Template Editor window is accessed by selecting the Settings | Code Generation Templates menu option.

Option |
Use to |
Language |
Select the programming language. |
New Language |
Display the Programming Languages Datatypes dialog, which enables you to include programming languages other than those supported for Enterprise Architect, for which to create or edit code templates. |
Template |
Display the contents of the active template, and provides the editor for modifying templates. |
Templates |
List the base code templates. The active template is highlighted. The Modified field indicates whether you have changed the default template for the current language. |
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 Custom Template |
Invoke a dialog for creating a custom stereotyped template. |
Add New Stereotyped Override |
Invoke a dialog for adding a stereotyped template, for the currently selected base template. |
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, the override is deleted and replaced by the corresponding default code template. |
For information on creating and editing code templates using the Code Template Editor window, see the Enterprise Architect Software Developer's Kit (SDK).


