public final class ProgressMonitorUtil extends Object
Constructor and Description |
---|
ProgressMonitorUtil() |
Modifier and Type | Method and Description |
---|---|
static IProgressMonitorWithBlocking |
createAccumulatingProgressMonitor(IProgressMonitor monitor,
Display display)
Wraps an
IProgressMonitor associated with the UI thread,
producing a new IProgressMonitorWithBlocking which can be used
from any one thread. |
public static IProgressMonitorWithBlocking createAccumulatingProgressMonitor(IProgressMonitor monitor, Display display)
IProgressMonitor
associated with the UI thread,
producing a new IProgressMonitorWithBlocking
which can be used
from any one thread. The resulting progress monitor will send changes to
the wrapped monitor asynchronously.
May be called from any thread. The thread that uses the resulting progress monitor need not be the same as the thread that constructs it.
monitor
- a progress monitor that should only be updated on the UI
threaddisplay
- Display associated with the progress monitor's UI thread
Copyright (c) 2000, 2017 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.