@Dependent @Templated public class ValidationPopupViewImpl extends Object implements ValidationPopupView
ValidationPopupView.Presenter| Constructor and Description |
|---|
ValidationPopupViewImpl(org.jboss.errai.common.client.dom.Div view,
org.jboss.errai.common.client.dom.Button yesButton,
org.jboss.errai.common.client.dom.Button cancelButton,
org.jboss.errai.ui.client.local.spi.TranslationService translationService) |
| Modifier and Type | Method and Description |
|---|---|
void |
cancelButtonClicked(com.google.gwt.event.dom.client.ClickEvent clickEvent) |
org.jboss.errai.common.client.dom.HTMLElement |
getElement() |
void |
hide() |
void |
init(ValidationPopupView.Presenter presenter) |
void |
setCancelButtonText(String text) |
void |
setValidationMessages(List<org.guvnor.common.services.shared.validation.model.ValidationMessage> messages) |
void |
setYesButtonText(String text) |
void |
show() |
void |
showCancelButton(boolean show) |
void |
showYesButton(boolean show) |
void |
yesButtonClicked(com.google.gwt.event.dom.client.ClickEvent clickEvent) |
@Inject
public ValidationPopupViewImpl(org.jboss.errai.common.client.dom.Div view,
org.jboss.errai.common.client.dom.Button yesButton,
org.jboss.errai.common.client.dom.Button cancelButton,
org.jboss.errai.ui.client.local.spi.TranslationService translationService)
public void init(ValidationPopupView.Presenter presenter)
init in interface org.uberfire.client.mvp.HasPresenter<ValidationPopupView.Presenter>public org.jboss.errai.common.client.dom.HTMLElement getElement()
getElement in interface org.jboss.errai.common.client.api.IsElementpublic void setYesButtonText(String text)
setYesButtonText in interface ValidationPopupViewpublic void setCancelButtonText(String text)
setCancelButtonText in interface ValidationPopupViewpublic void showYesButton(boolean show)
showYesButton in interface ValidationPopupViewpublic void showCancelButton(boolean show)
showCancelButton in interface ValidationPopupViewpublic void setValidationMessages(List<org.guvnor.common.services.shared.validation.model.ValidationMessage> messages)
setValidationMessages in interface ValidationPopupViewpublic void show()
show in interface ValidationPopupViewpublic void hide()
hide in interface ValidationPopupView@EventHandler(value="yesButton") public void yesButtonClicked(com.google.gwt.event.dom.client.ClickEvent clickEvent)
@EventHandler(value="cancelButton") public void cancelButtonClicked(com.google.gwt.event.dom.client.ClickEvent clickEvent)
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.