Adding a new variable
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.
To create a new variable
1 Implement the com.ibm.btt.tools.common.naming.variable.IVariableGenerator interface.
The following is description of the IVariableGenerator interface:
2 Register the variable generator.
▪ In the All Extensions panel, right-click com.ibm.btt.tools.common.naming, and then click New > variable_generator.
▪ 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.