Interface IProgressPresenter
-
public interface IProgressPresenter
The progress presenter interface. It handles operations progress changes.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
progressStarted(Object handle, int totalWork, String message)
Handles the case when the operation and its progress is started.void
progressStopped(Object handle)
Handles the operation progress stop.void
progressUpdated(Object handle, int worked)
Handles the operation progress update.
-
-
-
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 benull
.totalWork
- the amount of work to be done within the operation. IftotalWork
equals '-1' the progress is infinite.message
- the localized operation name, cannot benull
.
-
progressUpdated
void progressUpdated(Object handle, int worked)
Handles the operation progress update.- Parameters:
handle
- the handle of the operation, cannot benull
.worked
- the amount of done work.
-
progressStopped
void progressStopped(Object handle)
Handles the operation progress stop.- Parameters:
handle
- the handle of the operation, cannot benull
.
-
-