Package org.opencms.ade.galleries.client
Class CmsGalleriesTabHandler
java.lang.Object
org.opencms.ade.galleries.client.A_CmsTabHandler
org.opencms.ade.galleries.client.CmsGalleriesTabHandler
- All Implemented Interfaces:
com.google.gwt.event.logical.shared.CloseHandler<com.google.gwt.user.client.ui.PopupPanel>,com.google.gwt.event.shared.EventHandler
The galleries(folders) tab handler.
This class receives event information from the galleries tab and delegates it to the gallery controller.
- Since:
- 8.0.0
-
Field Summary
Fields inherited from class org.opencms.ade.galleries.client.A_CmsTabHandler
m_controller -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidClears the search parameters of this tab.booleanReturns true if the galleries should be selectable.voidonDeselectGallery(String galleryPath) Will be triggered when the user unchecks the checkbox to deselect a gallery.voidonSelectGallery(String galleryPath) Will be triggered when the user checks the checkbox to select a gallery.voidWill be triggered when the tab is selected.voidSorts the list, if present.voidremoveParam(String paramKey) Removes the search parameter with the given key from the search object.Methods inherited from class org.opencms.ade.galleries.client.A_CmsTabHandler
addSearchChangeHandler, getGalleryInfo, getTypeInfo, onClose, onDeselection, selectResource, selectResultTab, setSearchQuery, updateIndex, updateSize
-
Constructor Details
-
CmsGalleriesTabHandler
Constructor.- Parameters:
controller- the gallery controller
-
-
Method Details
-
clearParams
Description copied from class:A_CmsTabHandlerClears the search parameters of this tab.- Specified by:
clearParamsin classA_CmsTabHandler- See Also:
-
hasGalleriesSelectable
Returns true if the galleries should be selectable.- Returns:
- true if the galleries should be selectable
-
onDeselectGallery
Will be triggered when the user unchecks the checkbox to deselect a gallery.- Parameters:
galleryPath- the category path as id
-
onSelectGallery
Will be triggered when the user checks the checkbox to select a gallery.- Parameters:
galleryPath- the gallery path as id
-
onSelection
Description copied from class:A_CmsTabHandlerWill be triggered when the tab is selected.- Specified by:
onSelectionin classA_CmsTabHandler- See Also:
-
onSort
Description copied from class:A_CmsTabHandlerSorts the list, if present.- Specified by:
onSortin classA_CmsTabHandler- Parameters:
sortParams- the sort parametersfilter- the filter phrase- See Also:
-
removeParam
Description copied from class:A_CmsTabHandlerRemoves the search parameter with the given key from the search object.- Specified by:
removeParamin classA_CmsTabHandler- Parameters:
paramKey- the parameter key- See Also:
-