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 SummaryConstructorsConstructorDescriptionProgressEvent(int stepsCompleted, int totalNumberOfSteps) Deprecated, for removal: This API element is subject to removal in a future version.Creates a progress event.
- 
Method SummaryModifier and TypeMethodDescriptionintDeprecated, for removal: This API element is subject to removal in a future version.Returns the number of steps already completed.intDeprecated, for removal: This API element is subject to removal in a future version.Returns the total number of steps to complete.
- 
Constructor Details- 
ProgressEventpublic ProgressEvent(int stepsCompleted, int totalNumberOfSteps) Deprecated, for removal: This API element is subject to removal in a future version.Creates a progress event.- Parameters:
- stepsCompleted- The current progress out of the total
- totalNumberOfSteps- The number used to indicate when the algorithm will finish
 
 
- 
- 
Method Details- 
getStepsCompletedpublic int getStepsCompleted()Deprecated, for removal: This API element is subject to removal in a future version.Returns the number of steps already completed.
- 
getTotalNumberOfStepspublic int getTotalNumberOfSteps()Deprecated, for removal: This API element is subject to removal in a future version.Returns the total number of steps to complete.
 
-