Creating a New XUI File

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:
  1. Create a new project in RAD as the XUI file container. A new plug-in project is suggested to be created.
  2. Right click the project and select New . Expand BTT file and select Rich Client Page.
  3. Click Next.
  4. 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.
    Screen capture showing the create XUI file page
  5. 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:
    Screen capture showing how to creat a new XUI file.
  6. 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.