@ApplicationScoped public class ErrorPopupPresenter extends Object
WorkbenchPopup
.Modifier and Type | Class and Description |
---|---|
static interface |
ErrorPopupPresenter.View
The interface that popup views implement.
|
Constructor and Description |
---|
ErrorPopupPresenter(ErrorPopupPresenter.View view) |
Modifier and Type | Method and Description |
---|---|
void |
showMessage(String msg)
Shows the given message in a modal popup that appears above all other workbench contents.
|
void |
showMessage(String msg,
Command afterShow,
Command afterClose)
Shows the given message in a modal popup that appears above all other workbench contents.
|
@Inject public ErrorPopupPresenter(ErrorPopupPresenter.View view)
public void showMessage(String msg, Command afterShow, Command afterClose)
msg
- The message to display as plain text. HTML tags are not interpreted, and newlines are rendered as newlines.afterShow
- The command to invoke once the dialog has been displayed. Must not be null.afterClose
- The command to invoke once the dialog has been closed. Must not be null.public void showMessage(String msg)
msg
- The message to display as plain text. HTML tags are not interpreted, and newlines are rendered as newlines.Copyright © 2012–2019 JBoss by Red Hat. All rights reserved.