86878889909192
@UiHandler("okButton") public void handleOkButtonClicked(ClickEvent event) { if (dialogBox != null) { dialogBox.hide(); } fireEvent(new DialogClosedEvent(DialogResult.OK)); }
979899100101102103
@UiHandler("cancelButton") public void handleCancelButtonClicked(ClickEvent event) { if (dialogBox != null) { dialogBox.hide(); } fireEvent(new DialogClosedEvent(DialogResult.Cancel)); }