Interface I_CmsGalleryHandler

All Known Implementing Classes:
CmsGalleryPopup

public interface I_CmsGalleryHandler
A handler interface which allows the gallery dialog to interact with the context it is used in, e.g. the container page editor.
  • Method Details

    • filterDnd

      boolean filterDnd(org.opencms.ade.galleries.shared.CmsResultItemBean resultBean)
      This method is used to disable drag-and-drop for specific results.

      If this returns false, drag and drop should be disabled for the result (however, if true is returned, this does not automatically mean that drag and drop should be enabled.)

      Parameters:
      resultBean - the result for which drag-and-drop feasibility should be checked
      Returns:
      false if DnD should be prohibited for the element, else true
    • getAdditionalTypeTabControl

      com.google.gwt.user.client.ui.Widget getAdditionalTypeTabControl()
      Gets an additional widget to display in the type tab.

      Returns:
      the additional widget to display
    • getAutoHideParent

      Gets the auto-hide parent.

      Returns:
      the auto-hide parent
    • getDndHandler

      Gets the drag-and-drop handler for the result list.
      Returns:
      the drag-and-drop handler
    • processResultItem

      Processes a result list item.

      Parameters:
      item - the item to process