Class CmsPublishConfirmationDialog

  • All Implemented Interfaces:
    com.google.gwt.event.logical.shared.HasAttachHandlers, com.google.gwt.event.logical.shared.HasCloseHandlers<com.google.gwt.user.client.ui.PopupPanel>, com.google.gwt.event.shared.HasHandlers, com.google.gwt.user.client.EventListener, com.google.gwt.user.client.EventPreview, com.google.gwt.user.client.ui.AcceptsOneWidget, com.google.gwt.user.client.ui.HasAnimation, com.google.gwt.user.client.ui.HasOneWidget, com.google.gwt.user.client.ui.HasVisibility, com.google.gwt.user.client.ui.HasWidgets, com.google.gwt.user.client.ui.HasWidgets.ForIsWidget, com.google.gwt.user.client.ui.IsWidget, com.google.gwt.user.client.ui.SourcesPopupEvents, java.lang.Iterable<com.google.gwt.user.client.ui.Widget>, I_CmsAutoHider

    public class CmsPublishConfirmationDialog
    extends CmsPopup
    A confirmation message dialog which can be displayed after the publish dialog has been closed.

    • Constructor Detail

      • CmsPublishConfirmationDialog

        public CmsPublishConfirmationDialog​(CmsPublishDialog dialog,
                                            java.lang.String closeLink)
        Creates a new publish confirmation dialog.

        Parameters:
        dialog - the publish dialog instance
        closeLink - the link to open after the dialog is finished
    • Method Detail

      • getButtons

        protected java.util.List<CmsPushButtongetButtons()
        Produces the buttons for this dialog.

        Returns:
        a list of buttons that should be displayed
      • getMessage

        protected java.lang.String getMessage​(java.lang.String key,
                                              java.lang.Object... args)
        Helper method to get a localized message.

        Parameters:
        key - the message key
        args - the message parameters
        Returns:
        the localized message