|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface ToolContext.ProgressMonitor
If the discovery service can take more than 1 to 2 seconds to complete an operation, it should call methods on this interface to indicate how much work needs to be done, and the current progress in completing the work. Tool environments will provide the implementation of this interface. Typically the implementation will map to the UI progress monitors that the tool environment displays to users.
ProgressMonitor
Method Summary | |
---|---|
void |
close()
This method is identical to ProgressMonitor |
int |
getMaximum()
This method is identical to ProgressMonitor |
int |
getMinimum()
This method is identical to ProgressMonitor |
String |
getNote()
This method is identical to ProgressMonitor |
boolean |
isCanceled()
This method is identical to ProgressMonitor |
void |
setMaximum(int m)
This method is identical to ProgressMonitor |
void |
setMinimum(int m)
This method is identical to ProgressMonitor |
void |
setNote(String note)
This method is identical to ProgressMonitor |
void |
setProgress(int nv)
This method is identical to ProgressMonitor |
Method Detail |
---|
void close()
ProgressMonitor
int getMaximum()
ProgressMonitor
ProgressMonitor
int getMinimum()
ProgressMonitor
ProgressMonitor
String getNote()
ProgressMonitor
ProgressMonitor
This is a locale specific object that must be separated to a ResourceBundle, translated, and retrieved using the locale of the tool environment.
ResourceBundle
,
MessageFormat
boolean isCanceled()
ProgressMonitor
ProgressMonitor
void setMaximum(int m)
ProgressMonitor
m
- ProgressMonitor
void setMinimum(int m)
ProgressMonitor
m
- ProgressMonitor
void setNote(String note)
ProgressMonitor
note
- ProgressMonitor
This is a locale specific object that must be separated to a ResourceBundle, translated, and retrieved using the locale of the tool environment.
ResourceBundle
,
MessageFormat
void setProgress(int nv)
ProgressMonitor
nv
- ProgressMonitor
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |