Class CmsCategoryDialog

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.gwt.client.ui.input.category.CmsCategoryDialog
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 CmsCategoryDialog extends CmsPopup
Dialog to display and change resource categories.

  • Constructor Details

    • CmsCategoryDialog

      public CmsCategoryDialog(org.opencms.util.CmsUUID structureId, com.google.gwt.user.client.Command onSave, boolean collapsed)
      Constructor.

      Parameters:
      structureId - the resource structure id
      onSave - the on save command, called when categories have been changed
      collapsed - flag, indicating if the categories tree should be displayed collapsed when the dialog is opened
  • Method Details

    • initialize

      public void initialize(org.opencms.gwt.shared.CmsResourceCategoryInfo categoryInfo)
      Initializes the dialog content.

      Parameters:
      categoryInfo - the resource category info
    • show

      public void show()
      Overrides:
      show in class CmsPopup
      See Also:
    • saveCategories

      protected void saveCategories()
      Saves the selected categories and hides the dialog.