public class ProgressBarMonitor extends java.lang.Object implements ProgressMonitor
ProgressBar
which is drawn based on progress of some long-running action, by implementing the ProgressMonitor
interface to track progress. One such instance can be registered with multiple such long-running actions, as long as it is guaranteed that
these will not be executed in parallel but rather one after the other. Multiple, parallel actions should be handled by multiple such instances.ProgressMonitor.Progress
Constructor and Description |
---|
ProgressBarMonitor(org.eclipse.swt.widgets.Composite parent) |
Modifier and Type | Method and Description |
---|---|
void |
monitor(ProgressMonitor.Progress progress) |
public ProgressBarMonitor(org.eclipse.swt.widgets.Composite parent)
public void monitor(ProgressMonitor.Progress progress)
monitor
in interface ProgressMonitor