About this task
You can create a new XUI file with the New wizard in the Eclipse.
To create a new XUI file with the New wizard, you need to do the following
steps:
- Create a new project in RAD as the XUI file container. A new plug-in project
is suggested to be created.
- Right click the project and select New . Expand BTT file
and select Rich Client Page.
- Click Next.
- In the New XUI File wizard, specify the name for the new XUI File. The
filename can not be duplicate. The following screen capture is an example
about XUI file creation.
- Optional: You can also click the Advanced button
to create a link between the XUI file in the workspace and the XUI file in
the file system. The file names can be different. The following screen capture
is an example:
- Click Finish. A blank XUI File without the widget
is created. You can see the blank design panel and the root information in
the source code of the file.
<?xml version="1.0" encoding="UTF-8"?>
<XUI />
Remember: If the XUI file in the workspace is just a link
to the file in the file system, the linked file can not be blank. It should
at least contain the basic XML root information as the above code.