4445464748495051525354
{ view_ = view; session_ = session; server_ = server; commands.showWarningBar().addHandler(new CommandHandler() { public void onCommand(AppCommand command) { view_.get().showWarning(false, "This is a warning!"); }
4142434445464748495051
for (int i = 0; i < mruCmds_.length; i++) bindCommand(i); clearCommand_.addHandler(new CommandHandler() { public void onCommand(AppCommand command) { clear(); }
6364656667686970717273
}); } private void bindCommand(final int i) { mruCmds_[i].addHandler(new CommandHandler() { public void onCommand(AppCommand command) { if (i < mruEntries_.size()) operation_.execute(mruEntries_.get(i));