示例#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();
 }