Class PopupWindowProvider
java.lang.Object
ch.nolix.base.environment.localcomputer.PopupWindowProvider
The
PopupWindowProvider provides methods to show small pop-up
windows. Of the PopupWindowProvider an instance cannot be created.- Author:
- Silvan Wyss
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidshowErrorWindow(String errorMessage) Shows an error window with the given error message.static voidshowErrorWindow(Throwable error) Shows an error window for the given error.static voidshowMessageWindow(String message) Shows a message window with the given message.static booleanshowRequestWindow(String question) Shows a request window with the given question.
-
Method Details
-
showErrorWindow
Shows an error window with the given error message.- Parameters:
errorMessage-
-
showErrorWindow
Shows an error window for the given error.- Parameters:
error-
-
showMessageWindow
Shows a message window with the given message.- Parameters:
message-
-
showRequestWindow
Shows a request window with the given question.- Parameters:
question-- Returns:
- true if the yes-button was selected, false otherwise.
-