Package org.opencms.widgets
Class CmsDefaultComplexWidget
java.lang.Object
org.opencms.widgets.CmsDefaultComplexWidget
- All Implemented Interfaces:
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
-
Method Summary
Modifier and TypeMethodDescriptionReturns a copy of this widget which has been configured with the given configuration string.getName()
Gets the name of the complex widget.getWidgetData
(CmsObject cms) Gets the data needed for the editor to render the complex widget.
-
Constructor Details
-
CmsDefaultComplexWidget
public CmsDefaultComplexWidget()
-
-
Method Details
-
configure
Description copied from interface:I_CmsComplexWidget
Returns a copy of this widget which has been configured with the given configuration string.- Specified by:
configure
in interfaceI_CmsComplexWidget
- Parameters:
configuration
- the configuration string- Returns:
- the configured copy of the widget
- See Also:
-
getName
Description copied from interface:I_CmsComplexWidget
Gets the name of the complex widget.The string returned by this function should be a valid Javascript identifier.
- Specified by:
getName
in interfaceI_CmsComplexWidget
- Returns:
- the name of the complex widget
- See Also:
-
getWidgetData
Description copied from interface:I_CmsComplexWidget
Gets the data needed for the editor to render the complex widget.- Specified by:
getWidgetData
in interfaceI_CmsComplexWidget
- Parameters:
cms
- The CMS object to use for VFS operations- Returns:
- the data for the complex widget
- See Also:
-