Creating a GWT UiBinder
IntelliJ IDEA can generate a GWT UiBinder
ui.xml file for you.
While defining the declarative layout in the
ui.xml, various types of coding assistance, such as code completion
and generation of import statements, are at your disposal.
IntelliJ IDEA supports integration between the declarative layout in the
ui.xml and the corresponding Java class,
including Finding usages.
If you are using the
IntelliJ IDEA marks its methods with the icon in the left gutter area.
Click this icon to navigate to the corresponding resource.
To generate a GWT UiBinder
- In the Project view, right-click the client package.
- From the context menu, select .
- In the Create GWT UiBinder and ui.xml file dialog box that opens, specify the name of the UiBinder and the ui.xml file.
- Specify the type of the root element. Select the relevant item from the drop-down list or click the Browse button and choose the relevant type in the Search dialog box that opens.