|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface StatusService
Interface for the status notification service.
Method Summary | |
---|---|
void |
clearStatus()
Clears the status message. |
String |
getStatusMessage(String appName,
StatusEvent statusEvent)
Gets the status message of the given event. |
void |
showProgress(int value,
int maximum)
Updates the progress bar. |
void |
showStatus(int progress,
int maximum,
String message)
Updates the status message and progress bar. |
void |
showStatus(int progress,
int maximum,
String message,
boolean warn)
Updates the status message and progress bar, optionally flagging the status notification as a warning. |
void |
showStatus(String message)
Updates the status message. |
void |
warn(String message)
Issues a warning message. |
Methods inherited from interface org.scijava.service.Service |
---|
initialize, registerEventHandlers |
Methods inherited from interface org.scijava.Contextual |
---|
context, getContext, setContext |
Methods inherited from interface org.scijava.Prioritized |
---|
getPriority, setPriority |
Methods inherited from interface java.lang.Comparable |
---|
compareTo |
Methods inherited from interface org.scijava.plugin.HasPluginInfo |
---|
getInfo, setInfo |
Methods inherited from interface org.scijava.Disposable |
---|
dispose |
Method Detail |
---|
void showProgress(int value, int maximum)
void showStatus(String message)
void showStatus(int progress, int maximum, String message)
void showStatus(int progress, int maximum, String message, boolean warn)
progress
- New progress valuemaximum
- New progress maximummessage
- New status messagewarn
- Whether or not this notification constitutes a warningvoid warn(String message)
void clearStatus()
String getStatusMessage(String appName, StatusEvent statusEvent)
StatusEvent.getStatusMessage()
,
App.getInfo(boolean)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |