示例#1
0
 private void executeDeleteCommands() {
   if (!onDeleteCommand.isEmpty()) {
     for (final Command command : onDeleteCommand) {
       command.execute();
     }
   }
 }
 @UiHandler("ignoreButton")
 public void onIgnoreButtonClick(final ClickEvent e) {
   if (ignoreCommand != null) {
     ignoreCommand.execute();
   }
   panel.hide();
 }
 @UiHandler("actionButton")
 public void onActionButtonClick(final ClickEvent e) {
   if (actionCommand != null) {
     actionCommand.execute();
   }
   panel.hide();
 }