The Project Template Editor allows you to modify the structure of a project template. This editor appears when you double click on a project template in the Template View.
This tab includes:
Use this tab to specify text in the code that the template will generate, or for names that appear on the various tabs.
Columns include:
Use this tab to create the individual classes that the package template should
generate.
In the area below the list, you can enter the syntax for each class, or enter
comments. As you select different classes in the list at top, the area below
displays the syntax for that class. You can also use conditional statements
based on the variables you create on the Variables tab.
Use this tab to specify which natures to associate with the project. Together projects can have one or more natures, for instance, a Java project has the Java nature.
Use this tab to create the correct classpath for the project created by this template. Together adds these to the classpath file when creating a project. You can use the names of variables from the Variables tab, or ones added through the Preferences dialog.
| Button | Description |
|---|---|
|
On the Variables, Units, Natures, and Classpath tabs. Opens a wizard or dialog to add new elements. The fields in the wizard correspond to those on the tab. |
|
On the Variables, Natures, and Classpath tabs. Opens a wizard or new dialog to change elements. The fields in the wizard correspond to those on the tab. |
|
On the Variables, Units, Natures, and Classpath tabs. Removes
the selected element. NB: Consider this option carefully. You will not be prompted before an element is removed. |
Related Topic: