Package org.eclipse.emf.common.util
Class BasicMonitor.EclipseSubProgress
java.lang.Object
org.eclipse.core.runtime.ProgressMonitorWrapper
org.eclipse.core.runtime.SubProgressMonitor
org.eclipse.emf.common.util.BasicMonitor.EclipseSubProgress
- All Implemented Interfaces:
org.eclipse.core.runtime.IProgressMonitor,org.eclipse.core.runtime.IProgressMonitorWithBlocking,Monitor
- Enclosing class:
- BasicMonitor
public static class BasicMonitor.EclipseSubProgress
extends org.eclipse.core.runtime.SubProgressMonitor
implements Monitor
An Eclipse subprogress monitor that directly implements the monitor API.
-
Field Summary
Fields inherited from class org.eclipse.core.runtime.SubProgressMonitor
PREPEND_MAIN_LABEL_TO_SUBTASK, SUPPRESS_SUBTASK_LABELFields inherited from interface org.eclipse.core.runtime.IProgressMonitor
UNKNOWN -
Constructor Summary
ConstructorsConstructorDescriptionEclipseSubProgress(org.eclipse.core.runtime.IProgressMonitor monitor, int ticks) EclipseSubProgress(org.eclipse.core.runtime.IProgressMonitor monitor, int ticks, int style) -
Method Summary
Modifier and TypeMethodDescriptionvoidsetBlocked(Diagnostic reason) Sets the reason for the activity being blocked.Methods inherited from class org.eclipse.core.runtime.SubProgressMonitor
beginTask, done, internalWorked, subTask, workedMethods inherited from class org.eclipse.core.runtime.ProgressMonitorWrapper
clearBlocked, getWrappedProgressMonitor, isCanceled, setBlocked, setCanceled, setTaskNameMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.eclipse.core.runtime.IProgressMonitor
sliceMethods inherited from interface org.eclipse.emf.common.util.Monitor
beginTask, clearBlocked, done, internalWorked, isCanceled, setCanceled, setTaskName, subTask, worked
-
Constructor Details
-
EclipseSubProgress
public EclipseSubProgress(org.eclipse.core.runtime.IProgressMonitor monitor, int ticks) -
EclipseSubProgress
public EclipseSubProgress(org.eclipse.core.runtime.IProgressMonitor monitor, int ticks, int style)
-
-
Method Details
-
setBlocked
Description copied from interface:MonitorSets the reason for the activity being blocked.- Specified by:
setBlockedin interfaceMonitor
-