Extending : Data type extension : Data type extension for Tooling : How to create a new data type : New data type sample code
  
New data type sample code
In this sample, we provide two new Data Type for sample, DateTime and Char;
To check the sample code, you need to import the sample project from the following package to your UDTT IDE:
alpha_ToolType_NR08NTH_project.zip
DateTime Data Type:
User can use this type to input date in Constant Editor
You can find the sample code at
alpha_ToolType_NR08NTH\src\com\ibm\btt\alpha\tools\common\properties\desc\DatePropertyDescriptor.java
alpha_ToolType_NR08NTH\src\com\ibm\btt\alpha\tools\common\properties\desc\DateTimeSelectionDialog.java
Char Data Type:
Use can use this type to input one character in Constant Editor
You can find the sample code at
alpha_ToolType_NR08NTH\src\com\ibm\btt\alpha\tools\common\properties\desc\CharPropertyDescriptor.java
Go up to
How to create a new data type