public class CmsAdeDownloadGalleryWidget extends A_CmsAdeGalleryWidget
A_CmsWidget.CmsDummyWidgetDialog
PATH_GALLERY_JSP
HELP_POSTFIX, LABEL_PREFIX
Modifier | Constructor and Description |
---|---|
|
CmsAdeDownloadGalleryWidget()
Constructor.
|
protected |
CmsAdeDownloadGalleryWidget(java.lang.String configuration)
Creates a new gallery widget with the given configuration.
|
Modifier and Type | Method and Description |
---|---|
protected JSONObject |
getAdditionalGalleryInfo(CmsObject cms,
java.lang.String resource,
CmsMessages messages,
I_CmsWidgetParameter param)
Returns additional widget information encapsulated in a JSON object.
|
java.lang.String |
getGalleryName()
Returns the lower case name of the gallery, for example
"html" . |
protected java.lang.String |
getGalleryStoragePrefix()
Gets the prefix for the key used to store the last selected gallery.
|
protected java.lang.String |
getGalleryTypes()
Returns the resource type names available within this gallery widget.
|
java.lang.String |
getWidgetName()
Returns the class name of the widget.
|
I_CmsWidget |
newInstance()
Creates a duplicate of this widget instance.
|
getConfiguration, getCssResourceLinks, getDefaultDisplayType, getDialogWidget, getGalleryOpenParams, getInitCall, getJavaScriptResourceLinks, getJSONConfig, getOpenGalleryCall, getOpenPreviewCall, getWidgetConfiguration, isCompactViewEnabled, isInternal
equals, getConfiguration, getDialogHtmlEnd, getDialogIncludes, getDialogInitCall, getDialogInitMethod, getHelpBubble, getHelpKey, getHelpText, getJsHelpMouseHandler, getJSIncludeFile, getLabelKey, getWidgetStringValue, hashCode, setConfiguration, setEditorValue
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getConfiguration, getDialogHtmlEnd, getDialogIncludes, getDialogInitCall, getDialogInitMethod, getHelpBubble, getHelpText, getWidgetStringValue, setConfiguration, setEditorValue
public CmsAdeDownloadGalleryWidget()
protected CmsAdeDownloadGalleryWidget(java.lang.String configuration)
configuration
- the configuration to usepublic java.lang.String getGalleryName()
A_CmsAdeGalleryWidget
"html"
.getGalleryName
in class A_CmsAdeGalleryWidget
A_CmsAdeGalleryWidget.getGalleryName()
public java.lang.String getWidgetName()
I_CmsADEWidget
getWidgetName
in interface I_CmsADEWidget
getWidgetName
in class A_CmsAdeGalleryWidget
I_CmsADEWidget.getWidgetName()
public I_CmsWidget newInstance()
I_CmsWidget
I_CmsWidget.newInstance()
protected JSONObject getAdditionalGalleryInfo(CmsObject cms, java.lang.String resource, CmsMessages messages, I_CmsWidgetParameter param) throws JSONException
A_CmsAdeGalleryWidget
May be null
.
getAdditionalGalleryInfo
in class A_CmsAdeGalleryWidget
cms
- an initialized instance of a CmsObjectresource
- the edited resourcemessages
- the dialog messagesparam
- the widget parameter to generate the widget forJSONException
- if something goes wrong generating the JSON objectA_CmsAdeGalleryWidget.getAdditionalGalleryInfo(org.opencms.file.CmsObject, java.lang.String, org.opencms.i18n.CmsMessages, org.opencms.widgets.I_CmsWidgetParameter)
protected java.lang.String getGalleryStoragePrefix()
A_CmsAdeGalleryWidget
getGalleryStoragePrefix
in class A_CmsAdeGalleryWidget
A_CmsAdeGalleryWidget.getGalleryStoragePrefix()
protected java.lang.String getGalleryTypes()
A_CmsAdeGalleryWidget
getGalleryTypes
in class A_CmsAdeGalleryWidget
A_CmsAdeGalleryWidget.getGalleryTypes()