395396397398399400401402403404405
} }); } else { startDrag.execute(); } return currentDrag; }
592593594595596597598599600601602
private void runDeferredCommands() { if (deferredCommand != null) { Command command = deferredCommand; deferredCommand = null; command.execute(); if (!isBusy()) { runDeferredCommands(); } } }
12471248124912501251125212531254125512561257
menuVisible = true; visibleChildMenu.handleNavigation(keycode, ctrl, shift); } else { Command command = getSelected().getCommand(); if (command != null) { command.execute(); } setSelected(null); hideParents(true); }
8283848586878889909192
protected void selectSomething() { int sel = choices.getSelectedIndex(); if ( sel != -1 ) { Command cmd = cmds.get( choices.getValue( sel ) ); if ( cmd != null ) { cmd.execute(); ruleModeller.refreshWidget(); } } }
186187188189190191192193194195196
Scheduler.get().scheduleDeferred(new Scheduler.ScheduledCommand() { @Override public void execute() { cmd.execute(); } }); } }); }
563564565566567568569570571572573
Scheduler.get().scheduleDeferred(new Scheduler.ScheduledCommand() { @Override public void execute() { cmd.execute(); } });
211212213214215216217218219220221
303304305306307308309310311312313
})); } else { showErrorCommand.execute(); } } @Override public void onError(ServerError error)
311312313314315316317318319320321
@Override public void onError(ServerError error) { Debug.logError(error); showErrorCommand.execute(); } }); } else {
317318319320321322323324325326327
} }); } else { showErrorCommand.execute(); } }