262263264265266267268269270271272
} @Override public void onSuccess(Void result) { dialogBox.hide(); } }); } else
269270271272273274275276277278279
} }); } else { dialogBox.hide(); } } });
222223224225226227228229230231232
{ @Override public void closed() { dialogBox.hide(); callback.closed(); } }); mappinglist.setHeight(Window.getClientHeight() - 50 + "px");
172173174175176177178179180181182
{ @Override public void result(boolean ok) { dialogBox.hide(); callback.result(ok); } }); pet.setWidth("100%");
158159160161162163164165166167168
@Override public void result(boolean ok) { if (ok) { dialogBox.hide(); } else { dialogBox.hide(); }
161162163164165166167168169170171
if (ok) { dialogBox.hide(); } else { dialogBox.hide(); } } });
188189190191192193194195196197198
191192193194195196197198199200201
8283848586878889909192
dialogVPanel.add(closeButton); dialogBox.setWidget(dialogVPanel); //(9) closeButton.addClickHandler(new ClickHandler() { //(10) public void onClick(ClickEvent event) { dialogBox.hide(); sendButton.setEnabled(true); sendButton.setFocus(true); } });
8586878889909192939495
dialogBox.setWidget(dialogVPanel); // Add a handler to close the DialogBox closeButton.addClickHandler(new ClickHandler() { public void onClick(ClickEvent event) { dialogBox.hide(); sendButton.setEnabled(true); sendButton.setFocus(true); } });