Class YesNoConfirmPopupPresenter
- java.lang.Object
-
- org.drools.workbench.screens.scenariosimulation.client.popup.YesNoConfirmPopupPresenter
-
- All Implemented Interfaces:
YesNoConfirmPopup.Presenter
@Dependent public class YesNoConfirmPopupPresenter extends Object implements YesNoConfirmPopup.Presenter
-
-
Field Summary
Fields Modifier and Type Field Description protected YesNoConfirmPopupViewyesNoConfirmPopupView
-
Constructor Summary
Constructors Constructor Description YesNoConfirmPopupPresenter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidhide()Makes this popup container(and the main content along with it) invisible.voidshow(String title, String yesButtonText, String noButtonText, String confirmMessage, org.uberfire.mvp.Command yesCommand, org.uberfire.mvp.Command noCommand)Makes the YesNoConfirmPopupView visible with YES/NO/Cancel buttons.voidshow(String title, String okButtonText, String confirmMessage, org.uberfire.mvp.Command okCommand)Makes the YesNoConfirmPopupView visible with OK/Cancel buttons.voidshow(String title, String inlineNotificationMessage, org.uberfire.client.views.pfly.widgets.InlineNotification.InlineNotificationType inlineNotificationType, String yesButtonText, String noButtonText, org.uberfire.client.views.pfly.widgets.Button.ButtonStyleType yesButtonType, org.uberfire.client.views.pfly.widgets.Button.ButtonStyleType noButtonType, String confirmMessage, org.uberfire.mvp.Command yesCommand, org.uberfire.mvp.Command noCommand)Makes the YesNoConfirmPopupView visible with YES/NO/Cancel buttons.voidshow(String title, String inlineNotificationMessage, org.uberfire.client.views.pfly.widgets.InlineNotification.InlineNotificationType inlineNotificationType, String okButtonText, org.uberfire.client.views.pfly.widgets.Button.ButtonStyleType okButtonType, String confirmMessage, org.uberfire.mvp.Command okCommand)Makes the YesNoConfirmPopupView visible with OK/Cancel buttons.
-
-
-
Field Detail
-
yesNoConfirmPopupView
@Inject protected YesNoConfirmPopupView yesNoConfirmPopupView
-
-
Method Detail
-
show
public void show(String title, String okButtonText, String confirmMessage, org.uberfire.mvp.Command okCommand)
Description copied from interface:YesNoConfirmPopup.PresenterMakes the YesNoConfirmPopupView visible with OK/Cancel buttons.- Specified by:
showin interfaceYesNoConfirmPopup.Presenter
-
show
public void show(String title, String inlineNotificationMessage, org.uberfire.client.views.pfly.widgets.InlineNotification.InlineNotificationType inlineNotificationType, String okButtonText, org.uberfire.client.views.pfly.widgets.Button.ButtonStyleType okButtonType, String confirmMessage, org.uberfire.mvp.Command okCommand)
Description copied from interface:YesNoConfirmPopup.PresenterMakes the YesNoConfirmPopupView visible with OK/Cancel buttons.- Specified by:
showin interfaceYesNoConfirmPopup.Presenter
-
show
public void show(String title, String yesButtonText, String noButtonText, String confirmMessage, org.uberfire.mvp.Command yesCommand, org.uberfire.mvp.Command noCommand)
Description copied from interface:YesNoConfirmPopup.PresenterMakes the YesNoConfirmPopupView visible with YES/NO/Cancel buttons.- Specified by:
showin interfaceYesNoConfirmPopup.Presenter
-
show
public void show(String title, String inlineNotificationMessage, org.uberfire.client.views.pfly.widgets.InlineNotification.InlineNotificationType inlineNotificationType, String yesButtonText, String noButtonText, org.uberfire.client.views.pfly.widgets.Button.ButtonStyleType yesButtonType, org.uberfire.client.views.pfly.widgets.Button.ButtonStyleType noButtonType, String confirmMessage, org.uberfire.mvp.Command yesCommand, org.uberfire.mvp.Command noCommand)
Description copied from interface:YesNoConfirmPopup.PresenterMakes the YesNoConfirmPopupView visible with YES/NO/Cancel buttons.- Specified by:
showin interfaceYesNoConfirmPopup.Presenter
-
hide
public void hide()
Description copied from interface:YesNoConfirmPopup.PresenterMakes this popup container(and the main content along with it) invisible. Has no effect if the popup is not already showing.- Specified by:
hidein interfaceYesNoConfirmPopup.Presenter
-
-