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
Modifier and TypeMethodDescriptionvoid
Closes the preview.com.google.gwt.user.client.ui.Widget
Gets the additional widget to be displayed in the property tab.Returns the gallery dialog.boolean
Returns false, if the dialog may not be closed due to unsaved properties.void
Displays the given resource info data.Methods inherited from interface org.opencms.ade.galleries.client.preview.I_CmsPropertiesHandler
saveProperties, selectResource
-
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
Displays the given resource info data.- Parameters:
resourceInfo
- the resource info data
-