Extending : Processor editor extension : Extending the Processor editor : Registering a palette object
  
Registering a palette object
To register a customized palette object to the Processor Editor, technical developers must add an extension point for the customized palette object in the plugin.xml file of the extension plugin.
To register a customized palette object, do the following steps:
1 Open the plugin.xml file, and then click the Extensions tab.
2 Click the Extensions tab, and then click Add. The New Extension window opens.
3 In the Extension Point Filter field of the New Extension window, enter com.ibm.btt, and then select com.ibm.btt.tools.transaction.dominate.palette. Click Finish.
4 In the All Extensions panel, right-click com.ibm.btt.tools.transaction.dominate.palette, and then click New > state or New > transition depending on whether you want to register a state object or a transition object.
5 In the Extension Element Details panel, enter detailed information for the state of transition object.
In the Name field, enter a name for the object. Because the name of the object is the ID of the object, the name that you enter must be unique to the object that you are registering.
In the Label field, enter the name that is displayed on the object when it is displayed in the Palette view. The label of an object supports NLS.
In the smallIcon field, select the image that the object is displayed as when it is in the Palette view of the Processor editor. It is recommended that you select 16x16 pixel images for consistency with existing UDTT objects.
In the largeIcon field, select the image that the object is displayed as when it is in the editing area of the Processor editor. It is recommended that you select 32x32 pixel images for consistency with existing UDTT objects.
In the config field, select the configuration .xml file for the object.
Go up to
Extending the Processor editor