|
Elexis: Das führende OpenSource-Arztpraxisprogamm im deutschsprachigen Raum Java doc for Elexis version 2.1.7.dev vom 17.03.2013 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectag.ion.noa4e.ui.operations.OfficeProgressMonitor
public class OfficeProgressMonitor
Progress monitor for the office layer. This office progress monitor
can be used in order to wrap an Eclipse IProgressMonitor
.
Field Summary |
---|
Fields inherited from interface ag.ion.bion.officelayer.runtime.IOfficeProgressMonitor |
---|
WORK_UNKNOWN |
Constructor Summary | |
---|---|
OfficeProgressMonitor(org.eclipse.core.runtime.IProgressMonitor progressMonitor)
Constructs new OfficeProgressMonitor. |
Method Summary | |
---|---|
void |
beginSubTask(java.lang.String name)
Informs the monitor about a new subtask. |
void |
beginTask(java.lang.String name,
int totalWork)
Informs the monitor about a new task. |
void |
done()
Informs the progress monitor that the work is done. |
boolean |
isCanceled()
Returns information whether the work was canceled. |
boolean |
needsDone()
Returns information whether the progress monitor needs to be notified about the end of the main task. |
void |
setCanceled(boolean canceled)
Sets information whether the work was canceled. |
void |
worked(int work)
Notifies that a given number of work unit of the main task has been completed. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OfficeProgressMonitor(org.eclipse.core.runtime.IProgressMonitor progressMonitor)
progressMonitor
- progress monitor to be usedMethod Detail |
---|
public void beginTask(java.lang.String name, int totalWork)
beginTask
in interface IOfficeProgressMonitor
name
- name of the tasktotalWork
- total work of the taskpublic void worked(int work)
worked
in interface IOfficeProgressMonitor
work
- the number of work units just completedpublic void beginSubTask(java.lang.String name)
beginSubTask
in interface IOfficeProgressMonitor
name
- name of the substaskpublic boolean needsDone()
needsDone
in interface IOfficeProgressMonitor
public void done()
done
in interface IOfficeProgressMonitor
public void setCanceled(boolean canceled)
setCanceled
in interface IOfficeProgressMonitor
canceled
- information whether the work was canceledpublic boolean isCanceled()
isCanceled
in interface IOfficeProgressMonitor
|
Elexis: Das führende OpenSource-Arztpraxisprogamm im deutschsprachigen Raum Java doc for Elexis version 2.1.7.dev vom 17.03.2013 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |