About this task
The widget palette contains all the predefined eleven types of the
widgets. You can also extend the widget palette with your own widgets. To
extend the widget palette, you need to do the following steps:
- In the Eclipse, create a new Plug-in Project.
- In the Extensions tab of the MANIFEST.MF, click Add to
add com.ibm.btt.rcp.xui.editor.widgets to the Extensions.
- Clear the Show only extension points from the required plug-ins check
box, and enter the extension name in the Extension Point filter field
as highlighted in the following screen capture:
- Select com.ibm.btt.rcp.xui.editor.widgets, and
click Finish. If New plug-in dependency dialog opens,
click Yes. The following screen capture shows the New
plug-in dependency dialog.
- Right-click the extension name, and click as shown in the following screen
capture.
- Specify the name, icon, and class for the new widget. The following screen
capture shows Extension Element Details.
- Run the plug-in project as Eclipse Application, and the newly created
widget is displayed in the new palette. To get more information about how
to extend the property, refer to Extending the widget and the property