About this task
Technical developers can create a new variable and use it
in a naming convention rule. For more information on the format of
a naming convention rule, see
Extending naming conventions by registering a new naming convention rule.
Procedure
To create a new variable, do the following steps:
- Implement the com.ibm.btt.tools.common.naming.variable.IVariableGenerator interface. The following is description of the IVariableGenerator interface:
- Register the variable generator.
- In the All Extensions panel, right-click com.ibm.btt.tools.common.naming,
and then click .
- In the Extension Element Details panel,
enter the following information:
- In the ID field, enter the name of the
variable.
- In the Generator field, specify the implementation
class of variable generator.
- In the FirstChar field, specify the characteristic
of the first character.