Package org.opencms.widgets
Class CmsDefaultComplexWidget
- java.lang.Object
-
- org.opencms.widgets.CmsDefaultComplexWidget
-
- All Implemented Interfaces:
I_CmsComplexWidget
public class CmsDefaultComplexWidget extends java.lang.Object implements I_CmsComplexWidget
Dummy widget class that causes the Acacia editor to render a nested content normally without a special widget.This could be used to override a default widget defined for a nested content in its XSD on a per-attribute basis.
-
-
Constructor Summary
Constructors Constructor Description CmsDefaultComplexWidget()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description I_CmsComplexWidgetconfigure(java.lang.String configuration)Returns a copy of this widget which has been configured with the given configuration string.java.lang.StringgetName()Gets the name of the complex widget.CmsComplexWidgetDatagetWidgetData(CmsObject cms)Gets the data needed for the editor to render the complex widget.
-
-
-
Constructor Detail
-
CmsDefaultComplexWidget
public CmsDefaultComplexWidget()
-
-
Method Detail
-
configure
public I_CmsComplexWidget configure(java.lang.String configuration)
Description copied from interface:I_CmsComplexWidgetReturns a copy of this widget which has been configured with the given configuration string.- Specified by:
configurein interfaceI_CmsComplexWidget- Parameters:
configuration- the configuration string- Returns:
- the configured copy of the widget
- See Also:
I_CmsComplexWidget.configure(java.lang.String)
-
getName
public java.lang.String getName()
Description copied from interface:I_CmsComplexWidgetGets the name of the complex widget.The string returned by this function should be a valid Javascript identifier.
- Specified by:
getNamein interfaceI_CmsComplexWidget- Returns:
- the name of the complex widget
- See Also:
I_CmsComplexWidget.getName()
-
getWidgetData
public CmsComplexWidgetData getWidgetData(CmsObject cms)
Description copied from interface:I_CmsComplexWidgetGets the data needed for the editor to render the complex widget.- Specified by:
getWidgetDatain interfaceI_CmsComplexWidget- Parameters:
cms- The CMS object to use for VFS operations- Returns:
- the data for the complex widget
- See Also:
I_CmsComplexWidget.getWidgetData(org.opencms.file.CmsObject)
-
-