Interface IProgressPresenter


  • public interface IProgressPresenter
    The progress presenter interface. It handles operations progress changes.
    • Method Detail

      • progressStarted

        void progressStarted​(Object handle,
                             int totalWork,
                             String message)
        Handles the case when the operation and its progress is started.
        Parameters:
        handle - the handle of the operation, cannot be null.
        totalWork - the amount of work to be done within the operation. If totalWork equals '-1' the progress is infinite.
        message - the localized operation name, cannot be null.
      • progressUpdated

        void progressUpdated​(Object handle,
                             int worked)
        Handles the operation progress update.
        Parameters:
        handle - the handle of the operation, cannot be null.
        worked - the amount of done work.
      • progressStopped

        void progressStopped​(Object handle)
        Handles the operation progress stop.
        Parameters:
        handle - the handle of the operation, cannot be null.