public interface StatusService extends SciJavaService
Modifier and Type | Method and Description |
---|---|
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.
|
initialize, registerEventHandlers
getIdentifier, log
context, getContext, setContext
compareTo, getPriority, setPriority
getInfo, setInfo
getLocation
getVersion
dispose
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)
Copyright © 2015–2022 SciJava. All rights reserved.