Пример #1
0
 @Override
 public void criteria() {
   if (presenter.isUpdatePending() && !Window.confirm(messages.updatePendingContinue())) {
     return;
   }
   filters.clearFilters();
   resetForm();
 }
Пример #2
0
 @Override
 public void formUpdated() {
   if (!presenter.isUpdatePending()) {
     callback.viewChanged(
         presenter.getHeaderTitle() != null ? presenter.getHeaderTitle() : widget.getTitle());
   }
   presenter.setUpdatePending(true);
 }
Пример #3
0
 @Override
 protected boolean isUpdatePending() {
   return presenter.isUpdatePending();
 }