About this task
The XUI preview simulates the runtime of the current edited XUI
file. Both the appearance and the behavior of the file are the same as that
in the actual runtime environment. To preview the XUI, you need to do the
following steps:
- Create a plug-in project in RAD, and add the plug-ins com.ibm.btt.core and com.ibm.btt.rcp.xui in
the Dependencies of the MANIFEST.MF, as shown in the following screen capture.
- Put some widgets in the design panel, and edit the property for the widgets,
as shown in the following screen capture:
- Right-click the XUI file name in the Package Explorer view and select as
shown in the following screen capture:
Tip: You can also do this by performing one of the following
procedures as shown in the following figure:
- Select on the RAD toolbar.
- Click the green arrows on the toolbar.
The runtime
client application is started and works as the function definition. Besides,
the execution output information is displayed in the Console view. The following
screen capture is an example of XUI Previewer.