@Override public void criteria() { if (presenter.isUpdatePending() && !Window.confirm(messages.updatePendingContinue())) { return; } filters.clearFilters(); resetForm(); }
@Override public void formUpdated() { if (!presenter.isUpdatePending()) { callback.viewChanged( presenter.getHeaderTitle() != null ? presenter.getHeaderTitle() : widget.getTitle()); } presenter.setUpdatePending(true); }
@Override protected boolean isUpdatePending() { return presenter.isUpdatePending(); }