public interface EditorWrappingUtils
| Modifier and Type | Method and Description |
|---|---|
EditorBuilder |
createWrappedEditor(Collection<Parameter> parameters,
DataType valueType,
String editorDefinitionId,
WidgetInstanceManager widgetInstanceManager)
Creates an editor component for specified definition identity.
|
EditorBuilder |
createWrappedEditor(Collection<Parameter> parameters,
String editorDefinitionId,
DataAttribute dataAttribute,
WidgetInstanceManager widgetInstanceManager,
String itemPath)
Creates an editor component for specified definition identity bound to specified data attribute.
|
boolean |
isEditorWrappingEnabled(String editorDefinitionId,
TypedSettingsMap widgetSettings)
Checks if wrapping is enabled for specified widget.
|
EditorBuilder createWrappedEditor(Collection<Parameter> parameters, DataType valueType, String editorDefinitionId, WidgetInstanceManager widgetInstanceManager)
parameters - editor parametersvalueType - type of value that is to be represented by an editoreditorDefinitionId - editor definition identity (may be nullwidgetInstanceManager - instance manager for a widget that requires editorEditorBuilder createWrappedEditor(Collection<Parameter> parameters, String editorDefinitionId, DataAttribute dataAttribute, WidgetInstanceManager widgetInstanceManager, String itemPath)
parameters - editor parameterseditorDefinitionId - editor definition identity (may be nulldataAttribute - an attribute that editor is representingwidgetInstanceManager - instance manager for a widget that requires editoritemPath - specifies a path in widgets model to an item, which attribute is to be represented by editorboolean isEditorWrappingEnabled(String editorDefinitionId, TypedSettingsMap widgetSettings)
editorDefinitionId - editor definition identity to be potentially wrappedwidgetSettings - settings of a widgettrue if editor would be wrapped, if requestedCopyright © 2018. All rights reserved.