|
Eclipse Platform 2.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.eclipse.core.runtime.ProgressMonitorWrapper
An abstract wrapper around a progress monitor which,
unless overridden, forwards IProgressMonitor
methods to the wrapped progress monitor.
Clients may subclass.
Fields inherited from interface org.eclipse.core.runtime.IProgressMonitor |
UNKNOWN |
Constructor Summary | |
protected |
ProgressMonitorWrapper(IProgressMonitor monitor)
Creates a new wrapper around the given monitor. |
Method Summary | |
void |
beginTask(String name,
int totalWork)
This implementation of a IProgressMonitor
method forwards to the wrapped progress monitor. |
void |
done()
This implementation of a IProgressMonitor
method forwards to the wrapped progress monitor. |
IProgressMonitor |
getWrappedProgressMonitor()
Returns the wrapped progress monitor. |
void |
internalWorked(double work)
This implementation of a IProgressMonitor
method forwards to the wrapped progress monitor. |
boolean |
isCanceled()
This implementation of a IProgressMonitor
method forwards to the wrapped progress monitor. |
void |
setCanceled(boolean b)
This implementation of a IProgressMonitor
method forwards to the wrapped progress monitor. |
void |
setTaskName(String name)
This implementation of a IProgressMonitor
method forwards to the wrapped progress monitor. |
void |
subTask(String name)
This implementation of a IProgressMonitor
method forwards to the wrapped progress monitor. |
void |
worked(int work)
This implementation of a IProgressMonitor
method forwards to the wrapped progress monitor. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected ProgressMonitorWrapper(IProgressMonitor monitor)
monitor
- the progress monitor to forward toMethod Detail |
public void beginTask(String name, int totalWork)
IProgressMonitor
method forwards to the wrapped progress monitor.
Clients may override this method to do additional
processing.beginTask
in interface IProgressMonitor
IProgressMonitor.beginTask(java.lang.String, int)
public void done()
IProgressMonitor
method forwards to the wrapped progress monitor.
Clients may override this method to do additional
processing.done
in interface IProgressMonitor
IProgressMonitor.done()
public IProgressMonitor getWrappedProgressMonitor()
public void internalWorked(double work)
IProgressMonitor
method forwards to the wrapped progress monitor.
Clients may override this method to do additional
processing.internalWorked
in interface IProgressMonitor
IProgressMonitor.internalWorked(double)
public boolean isCanceled()
IProgressMonitor
method forwards to the wrapped progress monitor.
Clients may override this method to do additional
processing.isCanceled
in interface IProgressMonitor
IProgressMonitor.isCanceled()
public void setCanceled(boolean b)
IProgressMonitor
method forwards to the wrapped progress monitor.
Clients may override this method to do additional
processing.setCanceled
in interface IProgressMonitor
IProgressMonitor.setCanceled(boolean)
public void setTaskName(String name)
IProgressMonitor
method forwards to the wrapped progress monitor.
Clients may override this method to do additional
processing.setTaskName
in interface IProgressMonitor
IProgressMonitor.setTaskName(java.lang.String)
public void subTask(String name)
IProgressMonitor
method forwards to the wrapped progress monitor.
Clients may override this method to do additional
processing.subTask
in interface IProgressMonitor
IProgressMonitor.subTask(java.lang.String)
public void worked(int work)
IProgressMonitor
method forwards to the wrapped progress monitor.
Clients may override this method to do additional
processing.worked
in interface IProgressMonitor
IProgressMonitor.worked(int)
|
Eclipse Platform 2.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |