778779780781782783784785786787788
}); } else { createEmptyDoc.execute(); } } }).showModal(); }
18551856185718581859186018611862186318641865
new ServerRequestCallback<SourceDocument>() { @Override public void onError(ServerError error) { dismissProgress.execute(); pMruList_.get().remove(file.getPath()); Debug.logError(error); if (resultCallback != null) resultCallback.onFailure(error); }
18651866186718681869187018711872187318741875
} @Override public void onResponseReceived(SourceDocument document) { dismissProgress.execute(); pMruList_.get().add(document.getPath()); EditingTarget target = addTab(document); if (resultCallback != null) resultCallback.onSuccess(target); }
145146147148149150151152153154155
confirmTerminateRunningCompile("close the Compile PDF tab", confirmedCommand); } else { confirmedCommand.execute(); } } }); }
442443444445446447448449450451452
Scheduler.get().scheduleDeferred(new Scheduler.ScheduledCommand() { @Override public void execute() { cmd.execute(); } });
7677787980818283848586
protected void selectSomething() { int sel = choices.getSelectedIndex(); if ( sel != -1 ) { Command cmd = cmds.get( choices.getValue( sel ) ); if ( cmd != null ) { cmd.execute(); ruleModeller.refreshWidget(); } } }
178179180181182183184185186187188
Scheduler.get().scheduleDeferred(new Scheduler.ScheduledCommand() { @Override public void execute() { cmd.execute(); } }); } }); }
554555556557558559560561562563564
15921593159415951596159715981599160016011602
menuVisible = true; visibleChildMenu.handleNavigation(keycode, ctrl, shift); } else { Command command = getSelected().getCommand(); if (command != null) { command.execute(); } setSelected(null); hideParents(true); }
378379380381382383384385386387388
case Event.ONMOUSEMOVE: deferredStartRegistration.removeHandler(); deferredStartRegistration = null; currentDrag.setCurrentGwtEvent(event .getNativeEvent()); startDrag.execute(); break; default: // on any other events, clean up the // deferred drag start