public class CmsTypeComboWidget extends CmsComboWidget
A_CmsWidget.CmsDummyWidgetDialogCONFIGURATION_HEIGHTHELP_POSTFIX, LABEL_PREFIX| Constructor and Description |
|---|
CmsTypeComboWidget()
Default constructor.
|
CmsTypeComboWidget(java.lang.String config)
Constructor with a configuration parameter.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getConfiguration(CmsObject cms,
A_CmsXmlContentValue schemaType,
CmsMessages messages,
CmsResource resource,
java.util.Locale contentLocale)
Returns the configuration string for the ADE content editor widget.
|
java.util.List<java.lang.String> |
getCssResourceLinks(CmsObject cms)
Returns a list of CSS resources required by the widget.
|
java.lang.String |
getInitCall()
Returns the java script initialization call.
|
java.util.List<java.lang.String> |
getJavaScriptResourceLinks(CmsObject cms)
Returns a list of java script resources required by the widget.
|
boolean |
isInternal()
Returns if this is an internal widget.
|
I_CmsWidget |
newInstance()
Creates a duplicate of this widget instance.
|
void |
setConfiguration(java.lang.String config)
Sets the configuration of this widget.
|
getDialogHtmlEnd, getDialogIncludes, getDialogInitCall, getDialogWidget, getWidgetNameaddSelectOption, getConfiguration, getDefaultDisplayType, getHeight, getResourcePath, getSelectedValue, getSelectedValues, getSelectOptions, parseSelectOptions, setSelectOptionsequals, getDialogInitMethod, getHelpBubble, getHelpKey, getHelpText, getJsHelpMouseHandler, getJSIncludeFile, getLabelKey, getWidgetStringValue, hashCode, isCompactViewEnabled, setEditorValueclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetDialogInitMethod, getHelpBubble, getHelpText, getWidgetStringValue, isCompactViewEnabled, setEditorValuepublic CmsTypeComboWidget()
public CmsTypeComboWidget(java.lang.String config)
config - the configuration stringpublic java.lang.String getConfiguration(CmsObject cms, A_CmsXmlContentValue schemaType, CmsMessages messages, CmsResource resource, java.util.Locale contentLocale)
I_CmsADEWidgetgetConfiguration in interface I_CmsADEWidgetgetConfiguration in class A_CmsSelectWidgetcms - the OpenCms contextschemaType - the schema typemessages - the messagesresource - the edited resourcecontentLocale - the content localeI_CmsADEWidget.getConfiguration(org.opencms.file.CmsObject, org.opencms.xml.types.A_CmsXmlContentValue, org.opencms.i18n.CmsMessages, org.opencms.file.CmsResource, java.util.Locale)public java.util.List<java.lang.String> getCssResourceLinks(CmsObject cms)
A_CmsSelectWidgetgetCssResourceLinks in interface I_CmsADEWidgetgetCssResourceLinks in class A_CmsSelectWidgetcms - the current OpenCms contextI_CmsADEWidget.getCssResourceLinks(org.opencms.file.CmsObject)public java.lang.String getInitCall()
A_CmsSelectWidgetgetInitCall in interface I_CmsADEWidgetgetInitCall in class A_CmsSelectWidgetI_CmsADEWidget.getInitCall()public java.util.List<java.lang.String> getJavaScriptResourceLinks(CmsObject cms)
A_CmsSelectWidgetgetJavaScriptResourceLinks in interface I_CmsADEWidgetgetJavaScriptResourceLinks in class A_CmsSelectWidgetcms - the current OpenCms contextI_CmsADEWidget.getJavaScriptResourceLinks(org.opencms.file.CmsObject)public boolean isInternal()
A_CmsSelectWidgetOnly widgets belonging to the OpenCms core should be marked as internal.
isInternal in interface I_CmsADEWidgetisInternal in class A_CmsSelectWidgettrue if this is an internal widgetI_CmsADEWidget.isInternal()public I_CmsWidget newInstance()
I_CmsWidgetnewInstance in interface I_CmsWidgetnewInstance in class CmsComboWidgetI_CmsWidget.newInstance()public void setConfiguration(java.lang.String config)
I_CmsWidgetThis can be used to enable / disable certain widget features that should not always be available, or to pass specific initialization information to the widget. It depends on the widget implementation on how this information is used.
setConfiguration in interface I_CmsWidgetsetConfiguration in class A_CmsSelectWidgetconfig - the configuration to setA_CmsWidget.setConfiguration(java.lang.String)