Package org.opencms.ade.galleries.shared
Interface I_CmsGalleryConfiguration
- All Known Implementing Classes:
CmsGalleryConfiguration
public interface I_CmsGalleryConfiguration
The gallery configuration interface.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the currently selected element.Returns the gallery mode.Returns the start gallery path.Gets the prefix for the key used to store the last selected gallery.Returns the gallery type name.String[]
Returns the available gallery types.Returns the image format names.Returns the image formats.Returns the content locale.Gets the page id.Returns the path of the edited resource.Returns the available resource types.Returns the searchable types.Returns the start folder.Returns the start site.Gets the tab configuration.Gets the tree token.Returns the upload folder.boolean
Returns true if the galleries should be selectable.boolean
Returns if files are selectable.boolean
Returns false if the results should not be selectable.boolean
Returns if the site selector should be shown.boolean
Returns if image formats should be used in preview.void
setCurrentElement
(String currentElement) Sets the currentElement.void
setStartFolder
(String startFolder) Sets the start folder.
-
Method Details
-
getCurrentElement
Returns the currently selected element.- Returns:
- the currently selected element
-
getGalleryMode
Returns the gallery mode.- Returns:
- the gallery mode
-
getGalleryPath
Returns the start gallery path.- Returns:
- the start gallery path
-
getGalleryStoragePrefix
Gets the prefix for the key used to store the last selected gallery.- Returns:
- the prefix for the key used to store the last selected gallery
-
getGalleryTypeName
Returns the gallery type name.- Returns:
- the gallery type name
-
getGalleryTypes
Returns the available gallery types.- Returns:
- the available gallery types
-
getImageFormatNames
Returns the image format names.- Returns:
- the image format names
-
getImageFormats
Returns the image formats.- Returns:
- the image formats
-
getLocale
Returns the content locale.- Returns:
- the content locale
-
getPageId
Gets the page id.- Returns:
- the page id
-
getReferencePath
Returns the path of the edited resource.- Returns:
- the path of the edited resource
-
getResourceTypes
Returns the available resource types.- Returns:
- the available resource types
-
getSearchTypes
Returns the searchable types.- Returns:
- the searchable types
-
getStartFolder
Returns the start folder.- Returns:
- the start folder
-
getStartSite
Returns the start site.- Returns:
- the start site
-
getTabConfiguration
Gets the tab configuration.- Returns:
- the gallery tab configuration
-
getTreeToken
Gets the tree token.The tree token is used to save/load tree opening states for tree tabs in the gallery dialog. If two widget instances use different tree tokens, opening or closing tree entries in one will not effect the tree opening state of the other.
- Returns:
- the tree token
-
getUploadFolder
Returns the upload folder.- Returns:
- the upload folder
-
isGalleriesSelectable
boolean isGalleriesSelectable()Returns true if the galleries should be selectable.- Returns:
- true if the galleries should be selectable
-
isIncludeFiles
boolean isIncludeFiles()Returns if files are selectable.- Returns:
true
if files are selectable
-
isResultsSelectable
boolean isResultsSelectable()Returns false if the results should not be selectable.- Returns:
- false if the results should not be selectable
-
isShowSiteSelector
boolean isShowSiteSelector()Returns if the site selector should be shown.- Returns:
true
if the site selector should be shown
-
isUseFormats
boolean isUseFormats()Returns if image formats should be used in preview.- Returns:
true
if image format should be used in preview
-
setCurrentElement
Sets the currentElement.- Parameters:
currentElement
- the currentElement to set
-
setStartFolder
Sets the start folder.- Parameters:
startFolder
- the start folder
-