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 RAD :
- 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