Constructor and Description |
---|
ProgressMonitor() |
Modifier and Type | Method and Description |
---|---|
void |
beginTask(String name,
int totalWork) |
void |
cancel()
Cancel the job/task.
|
void |
done() |
String |
getSubTask() |
String |
getTaskName() |
int |
getTotalWork() |
int |
getWorked() |
void |
internalWorked(double work) |
boolean |
isCanceled() |
boolean |
isIndeterminate() |
void |
setCanceled(boolean value) |
void |
setTaskName(String name) |
void |
subTask(String name) |
void |
worked(int work) |
public void beginTask(String name, int totalWork)
beginTask
in interface org.eclipse.core.runtime.IProgressMonitor
public void done()
done
in interface org.eclipse.core.runtime.IProgressMonitor
public void internalWorked(double work)
internalWorked
in interface org.eclipse.core.runtime.IProgressMonitor
public boolean isCanceled()
isCanceled
in interface Progress
isCanceled
in interface org.eclipse.core.runtime.IProgressMonitor
public void setCanceled(boolean value)
setCanceled
in interface org.eclipse.core.runtime.IProgressMonitor
public void setTaskName(String name)
setTaskName
in interface org.eclipse.core.runtime.IProgressMonitor
public void subTask(String name)
subTask
in interface org.eclipse.core.runtime.IProgressMonitor
public void worked(int work)
worked
in interface org.eclipse.core.runtime.IProgressMonitor
public String getTaskName()
getTaskName
in interface Progress
null
public String getSubTask()
getSubTask
in interface Progress
null
public boolean isIndeterminate()
isIndeterminate
in interface Progress
public int getWorked()
getWorked
in interface Progress
Progress.isIndeterminate()
is true
public int getTotalWork()
getTotalWork
in interface Progress
Progress.isIndeterminate()
is true
Build 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a