Package org.eclipse.emf.common.util
Class BasicMonitor.Printing
java.lang.Object
org.eclipse.emf.common.util.BasicMonitor
org.eclipse.emf.common.util.BasicMonitor.Printing
- All Implemented Interfaces:
Monitor
- Enclosing class:
BasicMonitor
A simple monitor that prints progress to a print stream.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.emf.common.util.BasicMonitor
BasicMonitor.Delegating, BasicMonitor.EclipseSubProgress, BasicMonitor.Printing -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidCalled once per instance to indicate the name of the task and its expected duration.voidClears the reason for the activity being blocked.voidsetBlocked(Diagnostic reason) Sets the reason for the activity being blocked.voidsetTaskName(String name) Update the task name.voidSets the current subtask of the overall task.Methods inherited from class org.eclipse.emf.common.util.BasicMonitor
done, getBlockedReason, internalWorked, isCanceled, setCanceled, subProgress, toIProgressMonitor, toIProgressMonitorWithBlocking, toMonitor, toMonitor, worked
-
Field Details
-
printStream
-
-
Constructor Details
-
Printing
-
-
Method Details
-
beginTask
Description copied from interface:MonitorCalled once per instance to indicate the name of the task and its expected duration.- Specified by:
beginTaskin interfaceMonitor- Overrides:
beginTaskin classBasicMonitor
-
setTaskName
Description copied from interface:MonitorUpdate the task name.- Specified by:
setTaskNamein interfaceMonitor- Overrides:
setTaskNamein classBasicMonitor
-
subTask
Description copied from interface:MonitorSets the current subtask of the overall task.- Specified by:
subTaskin interfaceMonitor- Overrides:
subTaskin classBasicMonitor
-
setBlocked
Description copied from interface:MonitorSets the reason for the activity being blocked.- Specified by:
setBlockedin interfaceMonitor- Overrides:
setBlockedin classBasicMonitor
-
clearBlocked
public void clearBlocked()Description copied from interface:MonitorClears the reason for the activity being blocked.- Specified by:
clearBlockedin interfaceMonitor- Overrides:
clearBlockedin classBasicMonitor
-