Interface IProgressReport
- All Known Implementing Classes:
ProgressReporter.ProgressReport
public interface IProgressReport
The interface for a progress report; a progress report is a read only object containing
all the properties of an
IProgressReporter at a moment in time-
Method Summary
Modifier and TypeMethodDescriptionReturns the detail message for this particular reportReturns the error message (if any) for this reportorg.eclipse.swt.graphics.ImagegetImage()Returns the image of the reporterintReturns the maximum amount of work to be doneReturns the message for this particular reportintReturns the minimum amount of work to be donegetName()Returns the name of the reporterReturns the object associated with this reportintReturns the percentage of work done so farintReturns the id of the reporter that created this reportReturns the reporter type of the reporter that created this reportintReturns the type of report this isintReturns the amount of work done so fargetTitle()Returns the title of the reporter; this is mainly used as a window title if the reporter is shown by itself in a windowbooleanisActive()Returns whether the reporter is still in active statebooleanReturns whether the process owning the reporter allows a cancel requestbooleanReturns whether the reporter has been canceledbooleanReturns whether the reporter has been marked for disposalbooleanisDone()Returns whether the reporter is done with all its workbooleanReturns whether the amount of work done so far can not be calculated accuratelybooleanReturns whether the reporter has reported an errorbooleanReturns whether the amount of work done is in percentage formbooleanReturns whether the process owning the reporter allows a retry request
-
Method Details
-
getReporter
IProgressReporter getReporter() -
getReporterType
String getReporterType()Returns the reporter type of the reporter that created this report- Returns:
-
getReporterID
int getReporterID()Returns the id of the reporter that created this report- Returns:
-
getMinimum
int getMinimum()Returns the minimum amount of work to be done- Returns:
-
getMaximum
int getMaximum()Returns the maximum amount of work to be done- Returns:
-
getSelection
int getSelection()Returns the amount of work done so far- Returns:
-
getPercentage
int getPercentage()Returns the percentage of work done so far- Returns:
-
isActive
boolean isActive()Returns whether the reporter is still in active state- Returns:
-
isIndeterminate
boolean isIndeterminate()Returns whether the amount of work done so far can not be calculated accurately- Returns:
-
isDone
boolean isDone()Returns whether the reporter is done with all its work- Returns:
-
isPercentageInUse
boolean isPercentageInUse()Returns whether the amount of work done is in percentage form- Returns:
-
isCancelAllowed
boolean isCancelAllowed()Returns whether the process owning the reporter allows a cancel request- Returns:
-
isCanceled
boolean isCanceled()Returns whether the reporter has been canceled- Returns:
-
isRetryAllowed
boolean isRetryAllowed()Returns whether the process owning the reporter allows a retry request- Returns:
-
isInErrorState
boolean isInErrorState()Returns whether the reporter has reported an error- Returns:
-
isDisposed
boolean isDisposed()Returns whether the reporter has been marked for disposal- Returns:
-
getTitle
String getTitle()Returns the title of the reporter; this is mainly used as a window title if the reporter is shown by itself in a window- Returns:
-
getMessage
-
getDetailMessage
-
getErrorMessage
-
getName
-
getImage
org.eclipse.swt.graphics.Image getImage()Returns the image of the reporter- Returns:
-
getObjectData
-
getReportType
int getReportType()Returns the type of report this is- Returns:
-