public abstract class AbstractMonitor extends Object implements IProgressMonitor
IProgressMonitor that implements every method in the most
straight forward or empty way.| Constructor and Description |
|---|
AbstractMonitor() |
| Modifier and Type | Method and Description |
|---|---|
void |
begin()
Notifies that the processing is beginning.
|
void |
done()
Notifies that the work is done; that is, either the external process is
completed or the user canceled it.
|
boolean |
isCanceled()
Returns whether cancelation of current operation has been requested.
|
void |
setCanceled(boolean value)
Sets the cancel state to the given value.
|
void |
worked()
Notifies that some work of the external process has been completed.
|
public void begin()
IProgressMonitorbegin in interface IProgressMonitorpublic void done()
IProgressMonitordone in interface IProgressMonitorpublic boolean isCanceled()
IProgressMonitorisCanceled in interface IProgressMonitortrue if cancellation has been requested,
and false otherwiseIProgressMonitor.setCanceled(boolean)public void setCanceled(boolean value)
IProgressMonitorsetCanceled in interface IProgressMonitorvalue - true indicates that cancelation has
been requested (but not necessarily acknowledged);
false clears this flagIProgressMonitor.isCanceled()public void worked()
IProgressMonitorworked in interface IProgressMonitorMMBase 1.9-SNAPSHOT - ${javadoctimestamp}