Interface ResultModel.ResultModelChangeListener

Enclosing class:
ResultModel

public static interface ResultModel.ResultModelChangeListener
Defines a listener for the result model
  • Method Details

    • errorOcurred

      boolean errorOcurred(ExceptionData error, boolean interrupted, BasePresenter.ERROR_SOURCE source)
      Called by the model whenever certain errors occur.
      Parameters:
      error - the Error which occurred
      interrupted - true if the comparison was interrupted by this error
      source - the Source of the error
      Returns:
      true if the user was notified, false if the listener is not meant for user feedback (e.G. a PDF export)
    • modelChanged

      void modelChanged(ResultModel.ChangeInfo change)
      Called by the model whenever the date in the model is changed.
      Parameters:
      change - this object describes the regions where the data was changed.