|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecteu.esdihumboldt.hale.common.core.io.ProgressMonitorIndicator
public class ProgressMonitorIndicator
Progress indicator using an IProgressMonitor
Field Summary |
---|
Fields inherited from interface eu.esdihumboldt.hale.common.core.io.ProgressIndicator |
---|
UNKNOWN |
Constructor Summary | |
---|---|
ProgressMonitorIndicator(org.eclipse.core.runtime.IProgressMonitor monitor)
Create a progress indicator based on an IProgressMonitor |
Method Summary | |
---|---|
void |
advance(int workUnits)
Advances the progress by the given work units |
void |
begin(String taskName,
int totalWork)
Start the progress tracking |
void |
end()
Stop the progress tracking, signaling that the task is done |
boolean |
isCanceled()
States if the execution was canceled |
void |
setCurrentTask(String taskName)
Sets the current task name |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ProgressMonitorIndicator(org.eclipse.core.runtime.IProgressMonitor monitor)
IProgressMonitor
monitor
- the progress monitorMethod Detail |
---|
public void begin(String taskName, int totalWork)
ProgressIndicator
begin
in interface ProgressIndicator
taskName
- the main task nametotalWork
- the total work units for the progress indicator, if
unknown use ProgressIndicator.UNKNOWN
ProgressIndicator.begin(String, int)
public void end()
ProgressIndicator
end
in interface ProgressIndicator
ProgressIndicator.end()
public boolean isCanceled()
ProgressIndicator
isCanceled
in interface ProgressIndicator
ProgressIndicator.isCanceled()
public void setCurrentTask(String taskName)
ProgressIndicator
setCurrentTask
in interface ProgressIndicator
taskName
- the task nameProgressIndicator.setCurrentTask(String)
public void advance(int workUnits)
ProgressIndicator
advance
in interface ProgressIndicator
workUnits
- the work unitsProgressIndicator.advance(int)
|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |