Class CmsListAddDialog

  • 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 CmsListAddDialog
    extends CmsPopup
    Dialog that allows the user to choose the resource type of a new content to be created.
    • Constructor Detail

      • CmsListAddDialog

        public CmsListAddDialog​(org.opencms.util.CmsUUID elementId,
                                org.opencms.gwt.shared.CmsListElementCreationDialogData listAddData,
                                java.util.function.Consumer<org.opencms.gwt.shared.CmsListElementCreationOption> optionHandler)
        Creates a new instance.
        Parameters:
        elementId - the container element id
        listAddData - the data about the creatable resource types
        optionHandler - the handler to call with the selected option