To enable a customized widget to be used in the XUI editor,
a technical developer must add an extension point for the widget
in the plugin.xml file in the extension plug-in
project.
Procedure
To import a widget, do the following steps:
- Open the plugin.xml file.
- Click the Extensions tab, and then
click Add. The New Extension window opens.
- In the Extension Point Filter field
of the Extension points tab, enter com.ibm.btt,
and then select com.ibm.btt.tools.xui.editor2.widgets.
Click Finish.
- In the All Extensions panel, right-click com.ibm.btt.tools.xui.editor2.widgets,
and then click .
Note: Click category to
create a new widget category. The category is used to group widgets.

- On the Extension Element Details panel, enter detailed
information for the widget.
- In the Name field, enter a name
for the widget. Because the name serves as the ID of the
widget, it must be unique.
- In the Label field, enter a
display name for the widget. The label is displayed in
the palette as the widget name. It supports NLS.
- In the Icon field, select an
image to display the widget in widget palette of XUI Editor. It is recommended that images in 16x16 pixels are used to ensure
consistency with existing WebSphere® Multichannel Bank Transformation
Toolkit widgets.
- In the Category field, enter
the Category to which the widget belongs.
- In the Config field, enter the
file name for the widget definition .xml file. If you require more information on the widget definition .xml file,
refer to the Defining a widget topic.
- In the Container field, specify
whether the widget can contain other widgets. To enable the widget
to contain other widgets, select true. If you do not require the widget
to contain other widgets, select false.
- In the Description field, enter
a short description for the widget.