Uses of Class
org.eclipse.core.runtime.SubMonitor
Packages that use SubMonitor
Package
Description
Provides support for the runtime platform, core utility methods and the extension registry.
-
Uses of SubMonitor in org.eclipse.core.runtime
Methods in org.eclipse.core.runtime that return SubMonitorModifier and TypeMethodDescriptionSubMonitor.checkCanceled()
Checks whether cancellation of current operation has been requested and throws anOperationCanceledException
if it was the case.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.newChild
(int totalWork) Creates a new SubMonitor that will consume the given number of ticks from its parent.SubMonitor.newChild
(int totalWork, int suppressFlags) This is much likesplit(int)
, but it does not check for cancellation and will not throwOperationCanceledException
.SubMonitor.setWorkRemaining
(int workRemaining) Sets the work remaining for this SubMonitor instance.SubMonitor.split
(int totalWork) This is shorthand for callingsplit(totalWork, SUPPRESS_BEGINTASK)
.SubMonitor.split
(int totalWork, int suppressFlags) Creates a sub progress monitor that will consume the given number of ticks from the receiver.