|
TPTP 4.5.0 Platform Project Internal API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.tptp.platform.report.tools.internal.SimpleProgressMonitor
org.eclipse.tptp.platform.report.drivers.ui.internal.SWTViewer.ViewerProgressMonitor
public static class SWTViewer.ViewerProgressMonitor
This class provides the datas to manage a mouse event on a ITCell in the SWTViewer. This event is passed in the third parameter of MouseEventHandler's doMethod
TAbstractCell,
SWTViewer.MouseEventHandler| Field Summary |
|---|
| Fields inherited from interface org.eclipse.tptp.platform.report.tools.internal.IDProgressMonitor |
|---|
UNKNOWN |
| Constructor Summary | |
|---|---|
SWTViewer.ViewerProgressMonitor(SWTViewer v)
|
|
| Method Summary | |
|---|---|
void |
beginTask(java.lang.String name,
int total_works)
Start a task identified with a name, total_works can be UNKNOWN |
void |
done()
free any resource held by task, can be called more than once |
void |
setCanceled(boolean value)
Request a cancel of current task. |
void |
worked(int work)
advance current progress by work amount |
| Methods inherited from class org.eclipse.tptp.platform.report.tools.internal.SimpleProgressMonitor |
|---|
getTaskName, getTotalWorks, getWorkCount, isCanceled, isInProgress, setTotalWorks |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SWTViewer.ViewerProgressMonitor(SWTViewer v)
| Method Detail |
|---|
public void beginTask(java.lang.String name,
int total_works)
IDProgressMonitor
beginTask in interface IDProgressMonitorbeginTask in class SimpleProgressMonitorIDProgressMonitor.beginTask(java.lang.String, int)public void done()
IDProgressMonitor
done in interface IDProgressMonitordone in class SimpleProgressMonitorIDProgressMonitor.done()public void setCanceled(boolean value)
IDProgressMonitor
setCanceled in interface IDProgressMonitorsetCanceled in class SimpleProgressMonitorIDProgressMonitor.setCanceled(boolean)public void worked(int work)
IDProgressMonitor
worked in interface IDProgressMonitorworked in class SimpleProgressMonitorIDProgressMonitor.worked(int)
|
TPTP 4.5.0 Platform Project Internal API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||