Class LocalizedSimpleEditor
- java.lang.Object
-
- com.hybris.cockpitng.editors.impl.AbstractCockpitEditorRenderer<java.lang.Object>
-
- com.hybris.cockpitng.editor.localized.AbstractLocalizedEditor
-
- com.hybris.cockpitng.editor.localized.LocalizedSimpleEditor
-
- All Implemented Interfaces:
CockpitEditorRenderer<java.lang.Object>,WidgetInstanceManagerAware
public class LocalizedSimpleEditor extends AbstractLocalizedEditor
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringINLINE_PARAMstatic java.lang.StringYE_AS_LANG_SELECTOR_SCLASSstatic java.lang.StringYW_ADVANCED_SEARCH_LOCALstatic java.lang.StringYW_ADVANCED_SEARCH_LOCAL_EDITOR-
Fields inherited from class com.hybris.cockpitng.editor.localized.AbstractLocalizedEditor
LOCALIZED_EDITOR_LOCALE, SCLASS_CELL_LABEL, SCLASS_MANDATORY_ATTRIBUTE_LABEL, YW_LOCEDITOR_CAPTION
-
Fields inherited from class com.hybris.cockpitng.editors.impl.AbstractCockpitEditorRenderer
HEADER_LABEL_TOOLTIP, ON_ADD_EVENT, ON_DELETE_EVENT, YW_EDITOR_AREA_LABEL_CONTAINER
-
Fields inherited from interface com.hybris.cockpitng.editors.CockpitEditorRenderer
INITIAL_EDIT_STRING
-
-
Constructor Summary
Constructors Constructor Description LocalizedSimpleEditor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LocalizedValuesServicegetLocalizedValuesService()voidrender(org.zkoss.zk.ui.Component parent, EditorContext editorContext, EditorListener editorListener)Creates a new editor component and attaches it to the specifiedComponentcomponent.voidsetLocalizedValuesService(LocalizedValuesService localizedValuesService)-
Methods inherited from class com.hybris.cockpitng.editor.localized.AbstractLocalizedEditor
createEditorLabel, getActiveLocales, getCockpitLocaleService, getCockpitUserService, getComponentDefinitionService, getEditorRegistry, getLabelService, getWidgetInstanceManager, prepareSubEditor, prepareSubEditor, setCockpitLocaleService, setCockpitUserService, setComponentDefinitionService, setEditorRegistry, setLabelService, setWidgetInstanceManager
-
Methods inherited from class com.hybris.cockpitng.editors.impl.AbstractCockpitEditorRenderer
extractEmbeddedEditor, extractEmbeddedType, findAncestorEditor, findEmbeddedEditors, getInitialEditString, getL10nDecorator
-
-
-
-
Field Detail
-
YW_ADVANCED_SEARCH_LOCAL
public static final java.lang.String YW_ADVANCED_SEARCH_LOCAL
- See Also:
- Constant Field Values
-
YW_ADVANCED_SEARCH_LOCAL_EDITOR
public static final java.lang.String YW_ADVANCED_SEARCH_LOCAL_EDITOR
- See Also:
- Constant Field Values
-
YE_AS_LANG_SELECTOR_SCLASS
public static final java.lang.String YE_AS_LANG_SELECTOR_SCLASS
- See Also:
- Constant Field Values
-
INLINE_PARAM
public static final java.lang.String INLINE_PARAM
- See Also:
- Constant Field Values
-
-
Method Detail
-
render
public void render(org.zkoss.zk.ui.Component parent, EditorContext editorContext, EditorListener editorListener)Description copied from interface:CockpitEditorRendererCreates a new editor component and attaches it to the specifiedComponentcomponent.- Parameters:
parent- parent component the editor should be attached toeditorContext- the context for the editor creationeditorListener- the listener to notify the rest of the world about value changes and other events
-
getLocalizedValuesService
public LocalizedValuesService getLocalizedValuesService()
-
setLocalizedValuesService
public void setLocalizedValuesService(LocalizedValuesService localizedValuesService)
-
-