net.refractions.udig.catalog.ui.export
Class CountDownProgressMonitor
java.lang.Object
SubProgressMonitor
net.refractions.udig.catalog.ui.export.CountDownProgressMonitor
public class CountDownProgressMonitor
- extends SubProgressMonitor
Each time worked is called the total is decremented and the task name is done.
- Since:
- 1.1.0
- Author:
- Jesse
Constructor Summary |
CountDownProgressMonitor(IProgressMonitor monitor,
int ticks,
IGeoResource resource,
int remaining)
new instance |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CountDownProgressMonitor
public CountDownProgressMonitor(IProgressMonitor monitor,
int ticks,
IGeoResource resource,
int remaining)
- new instance
- Parameters:
monitor
- the "real" progress monitorticks
- the number of ticks that this monitor can useresource
- the layer that is being exportedremaining
- the number of features left to export.
worked
public void worked(int work)
getRemaining
public int getRemaining()