@Dependent @Templated public class ErrorPopup extends Object
Modifier and Type | Field and Description |
---|---|
protected org.jboss.errai.ui.client.local.spi.TranslationService |
translationService |
Constructor and Description |
---|
ErrorPopup() |
Modifier and Type | Method and Description |
---|---|
org.jboss.errai.common.client.dom.HTMLElement |
getElement() |
void |
hide() |
void |
init() |
void |
onAssignClick(org.jboss.errai.common.client.dom.MouseEvent event) |
void |
onCloseClick(org.jboss.errai.common.client.dom.MouseEvent event) |
void |
showError(String message) |
void |
showGenericError(String message) |
@Inject protected org.jboss.errai.ui.client.local.spi.TranslationService translationService
@PostConstruct public void init()
public void showGenericError(String message)
public void showError(String message)
public void hide()
public org.jboss.errai.common.client.dom.HTMLElement getElement()
@EventHandler(value="confirm-ok") public void onAssignClick(@ForEvent(value="click") org.jboss.errai.common.client.dom.MouseEvent event)
@EventHandler(value="confirm-close") public void onCloseClick(@ForEvent(value="click") org.jboss.errai.common.client.dom.MouseEvent event)
Copyright © 2001–2017 JBoss by Red Hat. All rights reserved.