/******************************************************************************************************************* * * {@inheritDoc} * ******************************************************************************************************************/ public void notifyExportFailed (final @Nonnull UserNotificationWithFeedback userNotificationWithFeedback) { activityHelper.showErrorDialog(userNotificationWithFeedback); }
/******************************************************************************************************************* * * {@inheritDoc} * ******************************************************************************************************************/ public void notifyNewObservationCommitted (final @Nonnull UserNotification notification) { activityHelper.showLightNotification(notification); }
/******************************************************************************************************************* * * {@inheritDoc} * ******************************************************************************************************************/ public void confirmToDeleteAnObservationItem (final @Nonnull UserNotificationWithFeedback notification) { activityHelper.showConfirmationDialog(notification); }
public void run() { log.info("notifyFeedUnavailable({})", notification); viewHelper.showErrorDialog(notification); } });
/******************************************************************************************************************* * * {@inheritDoc} * ******************************************************************************************************************/ public void notifyFeedIsCached (final @Nonnull UserNotification notification) { log.info("notifyFeedIsCached({})", notification); viewHelper.showLightNotification(notification); }
/******************************************************************************************************************* * * {@inheritDoc} * ******************************************************************************************************************/ public void confirmToDownloadMedia (final @Nonnull UserNotificationWithFeedback notification) { log.info("confirmToDownloadMedia({})", notification); viewHelper.showConfirmationDialog(notification); }
/******************************************************************************************************************* * * {@inheritDoc} * ******************************************************************************************************************/ public void notifyExportCompleted (final @Nonnull UserNotificationWithFeedback userNotificationWithFeedback) { activityHelper.showNotificationDialog(userNotificationWithFeedback); }
/******************************************************************************************************************* * * {@inheritDoc} * ******************************************************************************************************************/ public void highlightLatestObservation() { activityHelper.expandLastGroupAndCollapseOthers(getExpandableListView()); }
/******************************************************************************************************************* * * {@inheritDoc} * ******************************************************************************************************************/ public void notifySdCardNotReady (final @Nonnull UserNotificationWithFeedback notification) { log.info("notifySdCardNotReady({})", notification); viewHelper.showErrorDialog(notification); }
/******************************************************************************************************************* * * {@inheritDoc} * ******************************************************************************************************************/ public void notifyError (final @Nonnull UserNotification notification) { log.info("notifyError({})", notification); viewHelper.showLightNotification(notification); }
/******************************************************************************************************************* * * {@inheritDoc}BBMA-183 * ******************************************************************************************************************/ public void notifyFatalError (@Nonnull UserNotificationWithFeedback userNotificationWithFeedback) { helper.showErrorDialog(userNotificationWithFeedback); }
/******************************************************************************************************************* * * {@inheritDoc} * ******************************************************************************************************************/ public void confirmToDeleteMedia (final @Nonnull UserNotificationWithFeedback notification) { log.info("confirmToDeleteMedia({})", notification); viewHelper.showConfirmationDialog(notification); }
/******************************************************************************************************************* * * {@inheritDoc} * ******************************************************************************************************************/ public void notifyObservationItemDeleted (final @Nonnull UserNotification notification) { activityHelper.showLightNotification(notification); }
/******************************************************************************************************************* * * {@inheritDoc} * ******************************************************************************************************************/ public void confirmToDeleteAllObservations (final @Nonnull UserNotificationWithFeedback notification) { activityHelper.showConfirmationDialog(notification); }
/******************************************************************************************************************* * * {@inheritDoc} * ******************************************************************************************************************/ public void notifyThatTheTaxonomyCannotBeChanged (final @Nonnull UserNotificationWithFeedback userNotification) { log.info("notifyThatTheTaxonomyCannotBeChanged({})", userNotification); viewHelper.showErrorDialog(userNotification); } }
/******************************************************************************************************************* * * {@inheritDoc} * ******************************************************************************************************************/ public void notifyCompletion (final @Nonnull UserNotification notification) { log.info("notifyCompletion({})", notification); viewHelper.showLightNotification(notification); }
/******************************************************************************************************************* * * {@inheritDoc} * ******************************************************************************************************************/ public void notifyNewObservationCancelled (final @Nonnull UserNotification notification) { activityHelper.showLightNotification(notification); }
/******************************************************************************************************************* * * {@inheritDoc} * ******************************************************************************************************************/ public void notifyAllMessagesMarkedAsRead (final @Nonnull UserNotification notification) { log.info("notifyAllMessagesMarkedAsRead({})", notification); viewHelper.showLightNotification(notification); }
/******************************************************************************************************************* * * {@inheritDoc} * ******************************************************************************************************************/ public void notifyObservationDateTimeUpdated (final @Nonnull UserNotification notification) { activityHelper.showLightNotification(notification); }
/******************************************************************************************************************* * * {@inheritDoc} * ******************************************************************************************************************/ public void notifyAllObservationsDeleted (final @Nonnull UserNotification notification) { activityHelper.showLightNotification(notification); }