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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
closePreview()
Closes the preview.com.google.gwt.user.client.ui.Widget
getAdditionalWidgetForPropertyTab()
Gets the additional widget to be displayed in the property tab.CmsGalleryDialog
getGalleryDialog()
Returns the gallery dialog.boolean
setDataInEditor()
Returns false, if the dialog may not be closed due to unsaved properties.void
showData(T resourceInfo)
Displays the given resource info data.-
Methods inherited from interface org.opencms.ade.galleries.client.preview.I_CmsPropertiesHandler
saveProperties, selectResource
-
-
-
-
Method Detail
-
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
CmsGalleryDialog 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
-
-