|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.emf.common.util.BasicMonitor.EclipseDelegating
private static class BasicMonitor.EclipseDelegating
A simple monitor that delegates to another Eclipse monitor.
| Field Summary | |
|---|---|
protected org.eclipse.core.runtime.IProgressMonitor |
progressMonitor
|
protected org.eclipse.core.runtime.IProgressMonitorWithBlocking |
progressMonitorWithBlocking
|
| Fields inherited from interface org.eclipse.emf.common.util.Monitor |
|---|
UNKNOWN |
| Constructor Summary | |
|---|---|
BasicMonitor.EclipseDelegating(org.eclipse.core.runtime.IProgressMonitor progressMonitor)
|
|
BasicMonitor.EclipseDelegating(org.eclipse.core.runtime.IProgressMonitorWithBlocking progressMonitorWithBlocking)
|
|
| Method Summary | |
|---|---|
void |
beginTask(java.lang.String name,
int totalWork)
Called once per instance to indicate the name of the task and its expected duration. |
void |
clearBlocked()
Clears the reason for the activity being blocked. |
void |
done()
Called to indicate the task is complete. |
void |
internalWorked(double work)
Called by subprogress monitors to do fractional work. |
boolean |
isCanceled()
Returns whether the activity has been canceled. |
void |
setBlocked(Diagnostic reason)
Sets the reason for the activity being blocked. |
void |
setCanceled(boolean value)
Sets whether the active should be canceled. |
void |
setTaskName(java.lang.String name)
Update the task name. |
void |
subTask(java.lang.String name)
Sets the current subtask of the overall task. |
void |
worked(int work)
Called to indicate the amount or progress on the task. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected org.eclipse.core.runtime.IProgressMonitor progressMonitor
protected org.eclipse.core.runtime.IProgressMonitorWithBlocking progressMonitorWithBlocking
| Constructor Detail |
|---|
public BasicMonitor.EclipseDelegating(org.eclipse.core.runtime.IProgressMonitor progressMonitor)
public BasicMonitor.EclipseDelegating(org.eclipse.core.runtime.IProgressMonitorWithBlocking progressMonitorWithBlocking)
| Method Detail |
|---|
public boolean isCanceled()
Monitor
isCanceled in interface Monitorpublic void setCanceled(boolean value)
Monitor
setCanceled in interface Monitorpublic void setBlocked(Diagnostic reason)
Monitor
setBlocked in interface Monitorpublic void clearBlocked()
Monitor
clearBlocked in interface Monitor
public void beginTask(java.lang.String name,
int totalWork)
Monitor
beginTask in interface Monitorpublic void setTaskName(java.lang.String name)
Monitor
setTaskName in interface Monitorpublic void subTask(java.lang.String name)
Monitor
subTask in interface Monitorpublic void worked(int work)
Monitor
worked in interface Monitorpublic void internalWorked(double work)
Monitor
internalWorked in interface Monitorpublic void done()
Monitor
done in interface Monitor
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||