@Dependent @Templated public class PreserveDeletePopupView extends AbstractScenarioConfirmationPopupView implements PreserveDeletePopup
PreserveDeletePopup.Presenter
AbstractScenarioConfirmationPopup.Presenter
AbstractScenarioPopup.Presenter
Modifier and Type | Field and Description |
---|---|
protected org.uberfire.client.views.pfly.widgets.Button |
okPreserveButton |
protected org.uberfire.mvp.Command |
okPreserveCommand |
protected com.google.gwt.dom.client.LIElement |
option1 |
protected com.google.gwt.dom.client.LIElement |
option2 |
mainQuestion, text1, textQuestion
cancelButton, mainTitle, modal, okButton, okCommand, translationService
Constructor and Description |
---|
PreserveDeletePopupView() |
Modifier and Type | Method and Description |
---|---|
void |
onOkPreserveButton(org.jboss.errai.common.client.dom.MouseEvent event) |
void |
show(String mainTitleText,
String mainQuestionText,
String text1Text,
String textQuestionText,
String option1Text,
String option2Text,
String okPreserveButtonText,
String okDeleteButtonText,
org.uberfire.mvp.Command okPreserveCommand,
org.uberfire.mvp.Command okDeleteCommand)
Makes the
PreserveDeletePopup visible |
show
conditionalShow, conditionalShow, getElement, hide, init, onCancelClick, onOkClick, show
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getElement, hide
getElement, hide
@Inject @DataField(value="option-1") protected com.google.gwt.dom.client.LIElement option1
@Inject @DataField(value="option-2") protected com.google.gwt.dom.client.LIElement option2
@Inject @DataField(value="ok-preserve-button") protected org.uberfire.client.views.pfly.widgets.Button okPreserveButton
protected org.uberfire.mvp.Command okPreserveCommand
public void show(String mainTitleText, String mainQuestionText, String text1Text, String textQuestionText, String option1Text, String option2Text, String okPreserveButtonText, String okDeleteButtonText, org.uberfire.mvp.Command okPreserveCommand, org.uberfire.mvp.Command okDeleteCommand)
PreserveDeletePopup
PreserveDeletePopup
visibleshow
in interface PreserveDeletePopup
@EventHandler(value="ok-preserve-button") public void onOkPreserveButton(@ForEvent(value="click") org.jboss.errai.common.client.dom.MouseEvent event)
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.