GWT UiBinder PopupPanel Wizard

Subclasses of the GWT PopupPanel class can be created using the GWT UiBinder PopupPanel  wizard. The wizard can be selected from the drop down wizard menu or from the Eclipse New wizard.

To use the wizard, select the project source folder and package to contain the class. Then enter the class name and hit the Finish button.


The wizard generates the following Java code.


class UiBinderPopupPanel extends DialogBox {
    private static final Binder binder = GWT.create(Binder.class);
    interface Binder extends UiBinder<Widget, UiBinderPopupPanel> {
    public UiBinderPopupPanel() {

The wizard generates the following XML code.

<!DOCTYPE ui:UiBinder SYSTEM "">
<ui:UiBinder xmlns:ui=''
        .panel {
            background-color: ivory;
    <g:FlowPanel styleName="{style.panel}"/>

When editing GWT PopupPanels, all of the standard GWT panels, widgets and menus are available. Custom or third party controls may be added via the Choose Component command.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 3.0 License.