Class CmsCategoryDialog

  • All Implemented Interfaces:,<>,,,,,,,,,,,, java.lang.Iterable<>, I_CmsAutoHider

    public class CmsCategoryDialog
    extends CmsPopup
    Dialog to display and change resource categories.

    • Constructor Detail

      • CmsCategoryDialog

        public CmsCategoryDialog​(org.opencms.util.CmsUUID structureId,
                                 boolean collapsed)

        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 Detail

      • initialize

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

        categoryInfo - the resource category info
      • saveCategories

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