Package / Patterns Template Editor

The Package Patterns Template Editor allows you to modify the structure of package templates. This editor appears when you double click on a package pattern template in the Templates view.

Overview

This tab includes:

Variables

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 a variable to open the Edit Variable dialog.

Units

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.

Buttons

Button Description
Opens a wizard to add new variables or units. The fields in the wizard correspond to those on the tab.
Removes the variable or unit selected.
NB: Consider this option carefully. You will not be prompted before an element is removed.
Opens a dialog with an editable name field.


Related topic:

Using the Package Template Editor