org.softevo.ample
Class AmpleLauncher.SysOutMonitor
java.lang.Object
org.softevo.ample.AmpleLauncher.SysOutMonitor
- All Implemented Interfaces:
- org.eclipse.core.runtime.IProgressMonitor
- Enclosing class:
- AmpleLauncher
private class AmpleLauncher.SysOutMonitor
- extends java.lang.Object
- implements org.eclipse.core.runtime.IProgressMonitor
A ProgressMonitor
that simply logs to System.out
Field Summary |
private boolean |
isCanceled
Flag if the monitored task is canceled. |
Fields inherited from interface org.eclipse.core.runtime.IProgressMonitor |
UNKNOWN |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
isCanceled
private boolean isCanceled
- Flag if the monitored task is canceled.
AmpleLauncher.SysOutMonitor
private AmpleLauncher.SysOutMonitor()
beginTask
public void beginTask(java.lang.String name,
int totalWork)
- Callback if a task has begun.
- Specified by:
beginTask
in interface org.eclipse.core.runtime.IProgressMonitor
done
public void done()
- Callback if the task is finished.
- Specified by:
done
in interface org.eclipse.core.runtime.IProgressMonitor
internalWorked
public void internalWorked(double work)
- Not implemented.
- Specified by:
internalWorked
in interface org.eclipse.core.runtime.IProgressMonitor
isCanceled
public boolean isCanceled()
- Specified by:
isCanceled
in interface org.eclipse.core.runtime.IProgressMonitor
setCanceled
public void setCanceled(boolean value)
- Specified by:
setCanceled
in interface org.eclipse.core.runtime.IProgressMonitor
setTaskName
public void setTaskName(java.lang.String name)
- Specified by:
setTaskName
in interface org.eclipse.core.runtime.IProgressMonitor
subTask
public void subTask(java.lang.String name)
- Specified by:
subTask
in interface org.eclipse.core.runtime.IProgressMonitor
worked
public void worked(int work)
- Specified by:
worked
in interface org.eclipse.core.runtime.IProgressMonitor