|
Protégé-OWL 3.4 beta | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ProgressManager
An interface for objects that can manage the status and cancellation of a longish operation on an OWLModel. The use contract of this is
| Method Summary | |
|---|---|
void |
begin(String title,
boolean canBeCancelled)
Notifies the manager that a new modal process is about to start. |
void |
end()
Notifies the manager that the recently started process has ended. |
boolean |
isCancelled()
Checks if the user has cancelled the current process. |
void |
setIcon(Class iconBaseClass,
String iconName)
Specifies an (optional) icon that can be displayed alongside with the status text. |
void |
setProgress(double progress)
Sets an (optional) value for progress bars. |
void |
setText(String text)
Changes the status text that is being displayed. |
| Method Detail |
|---|
void begin(String title,
boolean canBeCancelled)
title - an (optional) title that could be displayed in a dialog etc.void end()
boolean isCancelled()
endProcess()
void setProgress(double progress)
progress - the progress value between 0 and 1
void setIcon(Class iconBaseClass,
String iconName)
iconBaseClass - the Class that the icon is relative toiconName - the file name relative to the base classvoid setText(String text)
text - the new text
|
Protégé-OWL 3.4 beta | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||