Use this editor to make changes in class templates. It appears when you double click on a class template in the Templates 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:
Double-click on an existing variable or click Edit to open the Edit Variable dialog. Clicking Add opens the New Variable dialog. To select the variable type, the Variable Type field provides code completion and a drop down list.


Use this tab to specify import statements to add to the class created by this template. Double-click an import line to open the Edit Import dialog.

Use this tab to specify the attributes to generate.

Use this tab to create operations.
| Button | Description |
|---|---|
|
On the Variables, Imports, Attributes, and Operations tabs. Opens a wizard or new dialog to add new elements. The fields in the wizard correspond to those on the tab. |
|
On the Variables and Imports tabs. Opens a wizard (for Variables) or new dialog (for Imports) to change elements. The fields in the wizard correspond to those on the tab. |
|
On the Variables and Imports tabs. Removes the selected element. NB: Consider this option carefully. You will not be prompted before an element is removed. |
| On the Attributes and Operations tabs. Removes the selected
element. NB: Consider this option carefully. You will not be prompted before an element is removed. |
|
|
On the Attributes and Operations tabs. Opens a dialog with an editable name field. |
|
|
On the Attributes and Operations tabs. Opens a popup with choices className, fieldName, packageName for adding code snippets. |
Related Topic: