Class ProgressEvent
java.lang.Object
org.eclipse.zest.layouts.progress.ProgressEvent
Deprecated, for removal: This API element is subject to removal in a future version.
No longer used in Zest 2.x. This class will be removed in a
future release.
When an algorithm wants to notify everyone it has completely part of its
task, it throws a ProgressEvent. The progress is a number (currentProgress)
representing the current steps completed out of the total number of steps
(totalProgress)
- @noextend
- This class is not intended to be subclassed by clients.
- @noreference
- This class is not intended to be referenced by clients.
- @noinstantiate
- This class is not intended to be instantiated by clients.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintDeprecated.intDeprecated.
-
Constructor Details
-
ProgressEvent
Deprecated.Creates a progress event.- Parameters:
stepsCompleted- The current progress out of the totaltotalNumberOfSteps- The number used to indicate when the algorithm will finish
-
-
Method Details
-
getStepsCompleted
Deprecated.Returns the number of steps already completed. -
getTotalNumberOfSteps
Deprecated.Returns the total number of steps to complete.
-