Extending the Properties view

About this task

The Properties view can be extended according to the customization of the widget. So you can have the personalized Property Descriptor classes for the new widget properties. To extend the Properties view, you need to do the following functions:

  1. In the Eclipse, create a new Plug-in Project.
  2. In the Extensions tab of the MANIFEST.MF, click Add to add com.ibm.btt.rcp.xui.editor.properties to the Extensions.
  3. 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:
    Screen capture showing extension points
  4. Select com.ibm.btt.rcp.xui.editor.properties, and click Finish. If New plug-in dependency dialog opens, click Yes. The following screen capture shows the New plug-in dependency dialog.
    Screen capture showing the New plug-in dependency dialog
  5. Right-click the extension name, and click New > property, as shown in the following screen capture:
    Screen capture showing how to add the new widget
  6. Specify the name, icon, and class.
  7. Run the plug-in project as Eclipse Application, and the newly created property is displayed in the Properties view of widgets. To get more information about how to extend the property, refer to Extending the widget and the property