Class CmsAttributeSelectWidgetFactory
java.lang.Object
org.opencms.acacia.client.widgets.CmsAttributeSelectWidgetFactory
- All Implemented Interfaces:
I_CmsWidgetFactory
,I_CmsHasInit
public class CmsAttributeSelectWidgetFactory
extends Object
implements I_CmsWidgetFactory, I_CmsHasInit
Widget factory for creating attribute select widgets.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final org.opencms.gwt.shared.attributeselect.I_CmsAttributeSelectFactory
The factory used to encode/decode data related to the attribute select widget.static final String
The widget name under which the factory is registered. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateFormWidget
(String configuration) Creates the from editing widget.createInlineWidget
(String configuration, com.google.gwt.dom.client.Element element) Wraps an existing DOM element to create an inline editing widget.static void
Initializes this class.
-
Field Details
-
DATA_FACTORY
The factory used to encode/decode data related to the attribute select widget. -
WIDGET_NAME
The widget name under which the factory is registered.- See Also:
-
-
Constructor Details
-
CmsAttributeSelectWidgetFactory
public CmsAttributeSelectWidgetFactory()
-
-
Method Details
-
initClass
Initializes this class. -
createFormWidget
Description copied from interface:I_CmsWidgetFactory
Creates the from editing widget.- Specified by:
createFormWidget
in interfaceI_CmsWidgetFactory
- Parameters:
configuration
- the widget configuration- Returns:
- the widget
- See Also:
-
createInlineWidget
public I_CmsEditWidget createInlineWidget(String configuration, com.google.gwt.dom.client.Element element) Description copied from interface:I_CmsWidgetFactory
Wraps an existing DOM element to create an inline editing widget.- Specified by:
createInlineWidget
in interfaceI_CmsWidgetFactory
- Parameters:
configuration
- the widget configurationelement
- the element to wrap- Returns:
- the widget
- See Also:
-