public class CmsAdeDownloadGalleryWidget extends A_CmsAdeGalleryWidget
A_CmsWidget.CmsDummyWidgetDialog
PATH_GALLERY_JSP
HELP_POSTFIX, LABEL_PREFIX
限定符 | 构造器和说明 |
---|---|
|
CmsAdeDownloadGalleryWidget()
Constructor.
|
protected |
CmsAdeDownloadGalleryWidget(java.lang.String configuration)
Creates a new gallery widget with the given configuration.
|
限定符和类型 | 方法和说明 |
---|---|
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 |
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
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
在类中 A_CmsAdeGalleryWidget
A_CmsAdeGalleryWidget.getGalleryName()
public java.lang.String getWidgetName()
I_CmsADEWidget
getWidgetName
在接口中 I_CmsADEWidget
getWidgetName
在类中 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
在类中 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 getGalleryTypes()
A_CmsAdeGalleryWidget
getGalleryTypes
在类中 A_CmsAdeGalleryWidget
A_CmsAdeGalleryWidget.getGalleryTypes()