Extending : Naming convention extension : Extending naming conventions by registering a new naming convention rule : Adding a new variable
  
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:
This graphic is described in the surrounding text.
This graphic is described in the surrounding text.
2 Register the variable generator.
In the All Extensions panel, right-click com.ibm.btt.tools.common.naming, and then click New > variable_generator.
This graphic is described in the surrounding text.
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.
This graphic is described in the surrounding text.