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
-
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.getName()
Returns the widget name.Methods inherited from class com.google.gwt.core.client.JavaScriptObject
cast, createArray, createArray, createFunction, createObject, equals, hashCode, toSource, toString
-
Constructor Details
-
WidgetFactoryWrapper
protected WidgetFactoryWrapper()Constructor.
-
-
Method Details
-
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:
-
getName
Returns the widget name.- Returns:
- the widget name
-