Interface I_CmsPreviewHandler<T extends org.opencms.ade.galleries.shared.CmsResourceInfoBean>

Type Parameters:
T - the resource info bean type
All Superinterfaces:
I_CmsPropertiesHandler
All Known Implementing Classes:
A_CmsPreviewHandler, CmsBinaryPreviewHandler, CmsImagePreviewHandler

public interface I_CmsPreviewHandler<T extends org.opencms.ade.galleries.shared.CmsResourceInfoBean> extends I_CmsPropertiesHandler
Preview dialog handler interface.

Delegates the actions of the preview controller to the preview dialog.

Since:
8.0.0
  • Method Details

    • closePreview

      void closePreview()
      Closes the preview.

    • getAdditionalWidgetForPropertyTab

      com.google.gwt.user.client.ui.Widget getAdditionalWidgetForPropertyTab()
      Gets the additional widget to be displayed in the property tab.

      Returns:
      the additional widget to be displayed in the property tab
    • getGalleryDialog

      Returns the gallery dialog.

      Returns:
      the gallery dialog
    • setDataInEditor

      boolean setDataInEditor()
      Returns false, if the dialog may not be closed due to unsaved properties.

      Returns:
      true if the dialog may be closed
    • showData

      void showData(T resourceInfo)
      Displays the given resource info data.

      Parameters:
      resourceInfo - the resource info data