try { pm.beginTask("Main Task", 100); doSomeWork(pm, 30); SubProgressMonitor subMonitor= new SubProgressMonitor(pm, 40); try { subMonitor.beginTask("", 300); doSomeWork(subMonitor, 300); } finally { subMonitor.done(); } doSomeWork(pm, 30); } finally { pm.done(); }
This class can be used without OSGi running.
This class may be instantiated or subclassed by clients.
@see SubMonitor
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|