Package | Description |
---|---|
org.eclipse.core.runtime |
Provides support for the runtime platform, core utility methods and the extension registry.
|
Modifier and Type | Method and Description |
---|---|
static SubMonitor |
SubMonitor.convert(IProgressMonitor monitor)
Converts an unknown (possibly null) IProgressMonitor into a SubMonitor.
|
static SubMonitor |
SubMonitor.convert(IProgressMonitor monitor,
int work)
Converts an unknown (possibly null) IProgressMonitor into a SubMonitor allocated
with the given number of ticks.
|
static SubMonitor |
SubMonitor.convert(IProgressMonitor monitor,
String taskName,
int work)
Converts an unknown (possibly null) IProgressMonitor into a SubMonitor allocated
with the given number of ticks.
|
SubMonitor |
SubMonitor.newChild(int totalWork)
Creates a new SubMonitor that will consume the given number of ticks from its parent.
|
SubMonitor |
SubMonitor.newChild(int totalWork,
int suppressFlags)
This is much like
split(int) , but it does not check for cancellation and will not
throw OperationCanceledException . |
SubMonitor |
SubMonitor.setWorkRemaining(int workRemaining)
Sets the work remaining for this SubMonitor instance.
|
SubMonitor |
SubMonitor.split(int totalWork)
This is shorthand for calling
split(totalWork, SUPPRESS_BEGINTASK) . |
SubMonitor |
SubMonitor.split(int totalWork,
int suppressFlags)
Creates a sub progress monitor that will consume the given number of ticks from the
receiver.
|
Copyright (c) 2000, 2016 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.