Interface ErrorPopupPresenter.View
-
- Enclosing class:
- ErrorPopupPresenter
public static interface ErrorPopupPresenter.ViewThe interface that popup views implement. There should be exactly one implementation of this interface on the classpath at compile time, and it will usually come from a module that provides all such views.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidshowMessage(String msg, org.uberfire.mvp.Command afterShow, org.uberfire.mvp.Command afterClose)Displays the given message in a modal dialog that sits above all other workbench components.
-
-
-
Method Detail
-
showMessage
void showMessage(String msg, org.uberfire.mvp.Command afterShow, org.uberfire.mvp.Command afterClose)
Displays the given message in a modal dialog that sits above all other workbench components. The dialog should include some sort of user interface controls for dismissing itself.- Parameters:
msg- The message to display as plain text. Not HTML; newlines should be rendered as newlines.afterShow- The command to invoke once the dialog has been displayed. Never null.afterClose- The command to invoke once the dialog has been closed. Never null.
-
-