Class WidgetFactoryWrapper
- java.lang.Object
-
- com.google.gwt.core.client.JavaScriptObject
-
- org.opencms.ade.contenteditor.widgetregistry.client.WidgetFactoryWrapper
-
- All Implemented Interfaces:
I_CmsWidgetFactory
public final class WidgetFactoryWrapper extends com.google.gwt.core.client.JavaScriptObject implements I_CmsWidgetFactory
A widget factory for native java script widgets.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
WidgetFactoryWrapper()
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description I_CmsFormEditWidget
createFormWidget(java.lang.String configuration)
Creates the from editing widget.I_CmsEditWidget
createInlineWidget(java.lang.String configuration, com.google.gwt.dom.client.Element element)
Wraps an existing DOM element to create an inline editing widget.java.lang.String
getName()
Returns the widget name.
-
-
-
Constructor Detail
-
WidgetFactoryWrapper
protected WidgetFactoryWrapper()
Constructor.
-
-
Method Detail
-
createFormWidget
public I_CmsFormEditWidget createFormWidget(java.lang.String configuration)
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:
I_CmsWidgetFactory.createFormWidget(java.lang.String)
-
createInlineWidget
public I_CmsEditWidget createInlineWidget(java.lang.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:
I_CmsWidgetFactory.createInlineWidget(java.lang.String, com.google.gwt.dom.client.Element)
-
getName
public java.lang.String getName()
Returns the widget name.- Returns:
- the widget name
-
-