public interface IProgressMonitor extends ICancel
Modifier and Type | Field and Description |
---|---|
static IProgressMonitor |
NULL_MONITOR
A Null monitor.
|
Modifier and Type | Method and Description |
---|---|
void |
beginTask(String text,
int count)
Begins work.
|
void |
done()
Completed work.
|
IProgressMonitor |
getSubMonitor()
Gets a sub-monitor of one work unit in parent.
|
IProgressMonitor |
getSubMonitor(int count)
Gets a sub-operation that takes a certain amount of work units in parent.
|
void |
setTaskName(String name)
Sets the task name.
|
void |
subTask(String name)
Sets the subtask name.
|
void |
worked()
A work unit is done.
|
void |
worked(int count)
Some work units are done.
|
void |
worked(int count,
String text)
Some work units are done, sets text for next operation.
|
void |
worked(String text)
A work unit is done, sets text for next operation.
|
isCanceled
static final IProgressMonitor NULL_MONITOR
void beginTask(String text, int count)
void setTaskName(String name)
void subTask(String name)
void worked()
void worked(String text)
void worked(int count)
void worked(int count, String text)
IProgressMonitor getSubMonitor()
IProgressMonitor getSubMonitor(int count)
void done()
Phantom® and NetPhantom® are registered trademarks of Mindus SARL.
© © Mindus SARL, 2024. All rights reserved.