public interface EditorRegistry
| Modifier and Type | Method and Description |
|---|---|
String |
getDefaultEditorCode(String editorType)
Return the default editor code (example: 'com.hybris.cockpitng.editor.default.text') for the given editorType
(example: 'TEXT')
|
EditorDefinition |
getEditorForCode(String editorDefinitionCode)
Returns for the given definition code.
|
EditorDefinition |
getEditorForType(String valueType)
Returns an editor for the given value type.
|
EditorDefinition |
getFallbackEditor()
Returns an editor that should be used in case there is no dedicated editor.
|
EditorDefinition getEditorForType(String valueType)
valueType - value type (e.g. java.lang.String)null if no suitable editor foundEditorDefinition getEditorForCode(String editorDefinitionCode)
editorDefinitionCode - The definition code (ID) of the editor to be foundnull if editor with such definition code does
not exist.String getDefaultEditorCode(String editorType)
editorType - EditorDefinition getFallbackEditor()
Copyright © 2018. All rights reserved.