IntelliJ IDEA 2020.1 Help

GWT UiBinder

IntelliJ IDEA can generate a GWT UiBinder and a 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 ClientBundle interface, IntelliJ IDEA marks its methods with the icon gwtNavigationIcon.png in the left gutter area. Click this icon to navigate to the corresponding resource.

To generate a GWT UiBinder

  1. In the Project view, right-click the client package.

  2. From the context menu, select New | Google Web Toolkit | GWT UiBinder and ui.xml file.

  3. In the Create GWT UiBinder and ui.xml file dialog that opens, specify the name of the UiBinder and the ui.xml file.

  4. Specify the type of the root element. Select the relevant item from the list or click Browse the Browse button and choose the relevant type in the Search dialog that opens.

Last modified: 29 June 2020