Class CmsCreateGalleryDialog

java.lang.Object
com.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.Widget
com.google.gwt.user.client.ui.Panel
com.google.gwt.user.client.ui.SimplePanel
com.google.gwt.user.client.ui.PopupPanel
org.opencms.gwt.client.ui.CmsPopup
org.opencms.ade.sitemap.client.ui.CmsCreateGalleryDialog
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, Iterable<com.google.gwt.user.client.ui.Widget>, I_CmsAutoHider

public class CmsCreateGalleryDialog extends CmsPopup
The create new gallery folder dialog.

  • Constructor Details

    • CmsCreateGalleryDialog

      public CmsCreateGalleryDialog(CmsSitemapController controller, int resourceTypeId, org.opencms.util.CmsUUID parentId)
      Constructor.

      Parameters:
      controller - the controller
      resourceTypeId - the gallery type id
      parentId - the parent folder id
  • Method Details

    • onOk

      protected void onOk()
      Creates the new gallery folder.

    • setOkEnabled

      protected void setOkEnabled(boolean enabled)
      Enables or disables the OK button.

      Parameters:
      enabled - true to enable the button