Class PreserveDeletePopupView
- java.lang.Object
-
- org.drools.workbench.screens.scenariosimulation.client.popup.AbstractScenarioPopupView
-
- org.drools.workbench.screens.scenariosimulation.client.popup.AbstractScenarioConfirmationPopupView
-
- org.drools.workbench.screens.scenariosimulation.client.popup.PreserveDeletePopupView
-
- All Implemented Interfaces:
AbstractScenarioConfirmationPopup,AbstractScenarioPopup,PreserveDeletePopup
@Dependent @Templated public class PreserveDeletePopupView extends AbstractScenarioConfirmationPopupView implements PreserveDeletePopup
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.drools.workbench.screens.scenariosimulation.client.popup.AbstractScenarioConfirmationPopup
AbstractScenarioConfirmationPopup.Presenter
-
Nested classes/interfaces inherited from interface org.drools.workbench.screens.scenariosimulation.client.popup.AbstractScenarioPopup
AbstractScenarioPopup.Presenter
-
Nested classes/interfaces inherited from interface org.drools.workbench.screens.scenariosimulation.client.popup.PreserveDeletePopup
PreserveDeletePopup.Presenter
-
-
Field Summary
Fields Modifier and Type Field Description protected org.uberfire.client.views.pfly.widgets.ButtonokPreserveButtonprotected org.uberfire.mvp.CommandokPreserveCommandprotected com.google.gwt.dom.client.LIElementoption1protected com.google.gwt.dom.client.LIElementoption2-
Fields inherited from class org.drools.workbench.screens.scenariosimulation.client.popup.AbstractScenarioConfirmationPopupView
mainQuestion, text1, textQuestion
-
Fields inherited from class org.drools.workbench.screens.scenariosimulation.client.popup.AbstractScenarioPopupView
cancelButton, mainTitle, modal, okButton, okCommand, translationService
-
-
Constructor Summary
Constructors Constructor Description PreserveDeletePopupView()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidonOkPreserveButton(org.jboss.errai.common.client.dom.MouseEvent event)voidshow(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 thePreserveDeletePopupvisible-
Methods inherited from class org.drools.workbench.screens.scenariosimulation.client.popup.AbstractScenarioConfirmationPopupView
show
-
Methods inherited from class org.drools.workbench.screens.scenariosimulation.client.popup.AbstractScenarioPopupView
conditionalShow, conditionalShow, getElement, hide, init, onCancelClick, onOkClick, show
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.drools.workbench.screens.scenariosimulation.client.popup.AbstractScenarioConfirmationPopup
getElement, hide
-
Methods inherited from interface org.drools.workbench.screens.scenariosimulation.client.popup.PreserveDeletePopup
getElement, hide
-
-
-
-
Field Detail
-
option1
@Inject @DataField("option-1") protected com.google.gwt.dom.client.LIElement option1
-
option2
@Inject @DataField("option-2") protected com.google.gwt.dom.client.LIElement option2
-
okPreserveButton
@Inject @DataField("ok-preserve-button") protected org.uberfire.client.views.pfly.widgets.Button okPreserveButton
-
okPreserveCommand
protected org.uberfire.mvp.Command okPreserveCommand
-
-
Method Detail
-
show
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)
Description copied from interface:PreserveDeletePopupMakes thePreserveDeletePopupvisible- Specified by:
showin interfacePreserveDeletePopup
-
onOkPreserveButton
@EventHandler("ok-preserve-button") public void onOkPreserveButton(@ForEvent("click") org.jboss.errai.common.client.dom.MouseEvent event)
-
-