@ApplicationScoped public class PopupHelper extends Object implements org.uberfire.ext.widgets.common.client.common.HasBusyIndicator
Constructor and Description |
---|
PopupHelper(org.uberfire.client.views.pfly.widgets.ErrorPopup errorPopup) |
Modifier and Type | Method and Description |
---|---|
org.jboss.errai.common.client.api.ErrorCallback<org.jboss.errai.bus.client.api.messaging.Message> |
getPopupErrorCallback() |
void |
hideBusyIndicator() |
protected org.uberfire.ext.widgets.common.client.common.popups.YesNoCancelPopup |
newNotificationPopup(String title,
String message) |
protected org.uberfire.ext.widgets.common.client.common.popups.YesNoCancelPopup |
newYesNoPopup(String title,
String message,
org.uberfire.mvp.Command yesCommand,
org.uberfire.mvp.Command noCommand) |
void |
showBusyIndicator(String message) |
void |
showErrorPopup(String message) |
void |
showErrorPopup(String message,
String detail) |
void |
showInformationPopup(String message) |
void |
showYesNoPopup(String title,
String message,
org.uberfire.mvp.Command yesCommand,
org.uberfire.mvp.Command noCommand) |
@Inject public PopupHelper(org.uberfire.client.views.pfly.widgets.ErrorPopup errorPopup)
public void showInformationPopup(String message)
public void showErrorPopup(String message)
public void showYesNoPopup(String title, String message, org.uberfire.mvp.Command yesCommand, org.uberfire.mvp.Command noCommand)
public void showBusyIndicator(String message)
showBusyIndicator
in interface org.uberfire.ext.widgets.common.client.common.HasBusyIndicator
public void hideBusyIndicator()
hideBusyIndicator
in interface org.uberfire.ext.widgets.common.client.common.HasBusyIndicator
public org.jboss.errai.common.client.api.ErrorCallback<org.jboss.errai.bus.client.api.messaging.Message> getPopupErrorCallback()
protected org.uberfire.ext.widgets.common.client.common.popups.YesNoCancelPopup newYesNoPopup(String title, String message, org.uberfire.mvp.Command yesCommand, org.uberfire.mvp.Command noCommand)
Copyright © 2001–2019 JBoss by Red Hat. All rights reserved.