public class CmsRemoveFormatterWidget extends A_CmsFormatterWidget
Please note that this widget assumes the resource being edited is a sitemap configuration, and will not work correctly in a different context.
A_CmsFormatterWidget.FormatterSelectComparatorA_CmsWidget.CmsDummyWidgetDialogCONFIGURATION_HEIGHTHELP_POSTFIX, LABEL_PREFIX| 构造器和说明 |
|---|
CmsRemoveFormatterWidget()
Default constructor.
|
CmsRemoveFormatterWidget(java.lang.String config)
Constructor with a configuration parameter.
|
| 限定符和类型 | 方法和说明 |
|---|---|
java.util.List<java.lang.String> |
getCssResourceLinks(CmsObject cms)
Returns a list of CSS resources required by the widget.
|
protected java.util.List<CmsSelectWidgetOption> |
getFormatterOptions(CmsObject cms,
CmsADEConfigData config)
Gets the options corresponding to external (non-schema) formatters.
|
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.
|
protected java.util.Set<java.lang.String> |
getSelectedInFile(CmsConfigurationReader reader,
CmsXmlContent content)
Gets the values which have already been selected in the edited resource on the VFS.
|
protected java.util.List<CmsSelectWidgetOption> |
getTypeOptions(CmsObject cms,
CmsADEConfigData adeConfig)
Gets the options corresponding to the schemas which define formatters.
|
boolean |
isInternal()
Returns if this is an internal widget.
|
I_CmsWidget |
newInstance()
Creates a duplicate of this widget instance.
|
getWidgetOptionForFormatter, getWidgetOptionForType, parseSelectOptionsgetDialogWidget, getWidgetName, getWidgetStringValueaddSelectOption, getConfiguration, getConfiguration, getDefaultDisplayType, getHeight, getResourcePath, getSelectedValue, getSelectedValues, getSelectOptions, setConfiguration, setSelectOptionsequals, getDialogHtmlEnd, getDialogIncludes, getDialogInitCall, getDialogInitMethod, getHelpBubble, getHelpKey, getHelpText, getJsHelpMouseHandler, getJSIncludeFile, getLabelKey, hashCode, isCompactViewEnabled, setEditorValuegetDialogHtmlEnd, getDialogIncludes, getDialogInitCall, getDialogInitMethod, getHelpBubble, getHelpText, isCompactViewEnabled, setEditorValuepublic CmsRemoveFormatterWidget()
public CmsRemoveFormatterWidget(java.lang.String config)
config - the configuration stringpublic java.util.List<java.lang.String> getCssResourceLinks(CmsObject cms)
A_CmsSelectWidgetgetCssResourceLinks 在接口中 I_CmsADEWidgetgetCssResourceLinks 在类中 A_CmsSelectWidgetcms - the current OpenCms contextI_CmsADEWidget.getCssResourceLinks(org.opencms.file.CmsObject)public java.lang.String getInitCall()
A_CmsSelectWidgetgetInitCall 在接口中 I_CmsADEWidgetgetInitCall 在类中 A_CmsSelectWidgetI_CmsADEWidget.getInitCall()public java.util.List<java.lang.String> getJavaScriptResourceLinks(CmsObject cms)
A_CmsSelectWidgetgetJavaScriptResourceLinks 在接口中 I_CmsADEWidgetgetJavaScriptResourceLinks 在类中 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 在接口中 I_CmsADEWidgetisInternal 在类中 A_CmsSelectWidgettrue if this is an internal widgetI_CmsADEWidget.isInternal()public I_CmsWidget newInstance()
I_CmsWidgetnewInstance 在接口中 I_CmsWidgetnewInstance 在类中 CmsSelectWidgetCmsSelectWidget.newInstance()protected java.util.List<CmsSelectWidgetOption> getFormatterOptions(CmsObject cms, CmsADEConfigData config)
A_CmsFormatterWidgetgetFormatterOptions 在类中 A_CmsFormatterWidgetcms - the CMS contextconfig - the ADE configurationA_CmsFormatterWidget.getFormatterOptions(org.opencms.file.CmsObject, org.opencms.ade.configuration.CmsADEConfigData)protected java.util.Set<java.lang.String> getSelectedInFile(CmsConfigurationReader reader, CmsXmlContent content)
A_CmsFormatterWidgetgetSelectedInFile 在类中 A_CmsFormatterWidgetreader - a sitemap configuration readercontent - the unmarshalled contentA_CmsFormatterWidget.getSelectedInFile(org.opencms.ade.configuration.CmsConfigurationReader, org.opencms.xml.content.CmsXmlContent)protected java.util.List<CmsSelectWidgetOption> getTypeOptions(CmsObject cms, CmsADEConfigData adeConfig)
A_CmsFormatterWidgetgetTypeOptions 在类中 A_CmsFormatterWidgetcms - the current CMS contextadeConfig - the ADE configurationA_CmsFormatterWidget.getTypeOptions(org.opencms.file.CmsObject, org.opencms.ade.configuration.CmsADEConfigData)