public abstract class ScenarioConfirmationPopupView extends Object implements ScenarioConfirmationPopup
ScenarioConfirmationPopup.Presenter| Modifier and Type | Field and Description |
|---|---|
protected org.uberfire.client.views.pfly.widgets.Button |
cancelButton |
protected com.google.gwt.dom.client.HeadingElement |
mainQuestion |
protected com.google.gwt.dom.client.HeadingElement |
mainTitle |
protected org.uberfire.client.views.pfly.widgets.Modal |
modal |
protected org.uberfire.client.views.pfly.widgets.Button |
okDeleteButton |
protected org.uberfire.mvp.Command |
okDeleteCommand |
protected com.google.gwt.dom.client.ParagraphElement |
text1 |
protected com.google.gwt.dom.client.ParagraphElement |
textQuestion |
protected org.jboss.errai.ui.client.local.spi.TranslationService |
translationService |
| Constructor and Description |
|---|
ScenarioConfirmationPopupView() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
conditionalShow(org.uberfire.client.views.pfly.widgets.Button button,
org.uberfire.mvp.Command command,
String innerText) |
protected void |
conditionalShow(com.google.gwt.dom.client.Element element,
String innerText) |
org.jboss.errai.common.client.dom.HTMLElement |
getElement() |
void |
hide()
Makes this popup container(and the main content along with it) invisible.
|
void |
init() |
void |
onCancelClick(org.jboss.errai.common.client.dom.MouseEvent event) |
void |
onOkDeleteClick(org.jboss.errai.common.client.dom.MouseEvent event) |
void |
show(String mainTitleText,
String mainQuestionText,
String text1Text,
String textQuestionText,
String okDeleteButtonText,
org.uberfire.mvp.Command okDeleteCommand)
Makes the
ScenarioConfirmationPopup visible with OK/Cancel buttons. |
@DataField(value="main-title") protected com.google.gwt.dom.client.HeadingElement mainTitle
@DataField(value="main-question") protected com.google.gwt.dom.client.HeadingElement mainQuestion
@Inject @DataField(value="text-1") protected com.google.gwt.dom.client.ParagraphElement text1
@Inject @DataField(value="text-question") protected com.google.gwt.dom.client.ParagraphElement textQuestion
@Inject @DataField(value="cancel-button") protected org.uberfire.client.views.pfly.widgets.Button cancelButton
@Inject @DataField(value="ok-delete-button") protected org.uberfire.client.views.pfly.widgets.Button okDeleteButton
@Inject @DataField(value="modal") protected org.uberfire.client.views.pfly.widgets.Modal modal
@Inject protected org.jboss.errai.ui.client.local.spi.TranslationService translationService
protected org.uberfire.mvp.Command okDeleteCommand
@PostConstruct public void init()
public void show(String mainTitleText, String mainQuestionText, String text1Text, String textQuestionText, String okDeleteButtonText, org.uberfire.mvp.Command okDeleteCommand)
ScenarioConfirmationPopupScenarioConfirmationPopup visible with OK/Cancel buttons.show in interface ScenarioConfirmationPopuppublic org.jboss.errai.common.client.dom.HTMLElement getElement()
getElement in interface ScenarioConfirmationPopuppublic void hide()
ScenarioConfirmationPopuphide in interface ScenarioConfirmationPopup@EventHandler(value="ok-delete-button")
public void onOkDeleteClick(@ForEvent(value="click")
org.jboss.errai.common.client.dom.MouseEvent event)
@EventHandler(value="cancel-button")
public void onCancelClick(@ForEvent(value="click")
org.jboss.errai.common.client.dom.MouseEvent event)
protected void conditionalShow(com.google.gwt.dom.client.Element element,
String innerText)
protected void conditionalShow(org.uberfire.client.views.pfly.widgets.Button button,
org.uberfire.mvp.Command command,
String innerText)
Copyright © 2001–2019 JBoss by Red Hat. All rights reserved.