public final class ProgressMonitorUtil extends Object
|Constructor and Description|
|Modifier and Type||Method and Description|
public static IProgressMonitorWithBlocking createAccumulatingProgressMonitor(IProgressMonitor monitor, Display display)
IProgressMonitorassociated with the UI thread, producing a new
IProgressMonitorWithBlockingwhich 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 thread
display- Display associated with the progress monitor's UI thread
Copyright (c) 2000, 2018 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.