Creating a template
New templates
can be created to extend or modify the behaviour of your generated
application.
The following steps describe one way of creating a new template:
- Locate the
templates
directory for the current project
in a file browser:

- Locate or create the template directory where the new template
will be located.
- Create a new file in that directory named after the template,
and ending in
.ftl
. For example, newFeature.java.ftl
- Go to the
Generate Code tab in the main application window.
- Press the Refresh toolbar button in the template toolbar.
- The new template should appear in the Template tree:

- Double click the template in the tree to edit it.
- Edit the template according to the correct template
format.
Related concepts
Template
Template format
Related reference
Generate Code tab