Class TmaPscvListSelectorEditor
java.lang.Object
com.hybris.cockpitng.editors.impl.AbstractCockpitEditorRenderer<Set<TmaProductSpecCharacteristicValueModel>>
de.hybris.platform.b2ctelcobackoffice.editors.TmaPscvListSelectorEditor
- All Implemented Interfaces:
com.hybris.cockpitng.editors.CockpitEditorRenderer<Set<TmaProductSpecCharacteristicValueModel>>
public class TmaPscvListSelectorEditor
extends com.hybris.cockpitng.editors.impl.AbstractCockpitEditorRenderer<Set<TmaProductSpecCharacteristicValueModel>>
Editor for displaying the
TmaProductSpecCharacteristicValueModel characteristic values for a TmaProductOfferingModel.- Since:
- 6.7
-
Field Summary
Fields inherited from class com.hybris.cockpitng.editors.impl.AbstractCockpitEditorRenderer
HEADER_LABEL_TOOLTIP, ON_ADD_EVENT, ON_DELETE_EVENT, YW_EDITOR_AREA_LABEL_CONTAINERFields inherited from interface com.hybris.cockpitng.editors.CockpitEditorRenderer
INITIAL_EDIT_STRING -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected com.hybris.backoffice.widgets.notificationarea.NotificationServiceprotected TmaProductSpecificationServiceprotected TmaPscvListitemRenderervoidrender(org.zkoss.zk.ui.Component component, com.hybris.cockpitng.editors.EditorContext<Set<TmaProductSpecCharacteristicValueModel>> editorContext, com.hybris.cockpitng.editors.EditorListener<Set<TmaProductSpecCharacteristicValueModel>> editorListener) Renders theTmaProductSpecCharacteristicValueModelbased on a previously definedTmaProductSpecificationModelin the form of aListgroupsuch as: the group's label is theTmaProductSpecCharacteristicModel's name.Methods inherited from class com.hybris.cockpitng.editors.impl.AbstractCockpitEditorRenderer
extractEmbeddedEditor, extractEmbeddedType, findAncestorEditor, findEmbeddedEditors, getInitialEditString, getL10nDecorator
-
Constructor Details
-
TmaPscvListSelectorEditor
public TmaPscvListSelectorEditor()
-
-
Method Details
-
render
public void render(org.zkoss.zk.ui.Component component, com.hybris.cockpitng.editors.EditorContext<Set<TmaProductSpecCharacteristicValueModel>> editorContext, com.hybris.cockpitng.editors.EditorListener<Set<TmaProductSpecCharacteristicValueModel>> editorListener) Renders theTmaProductSpecCharacteristicValueModelbased on a previously definedTmaProductSpecificationModelin the form of aListgroupsuch as:-
the group's label is the
TmaProductSpecCharacteristicModel's name. -
the selectable group items are the
TmaProductSpecCharacteristicValueModelconfigured for thatTmaProductSpecCharacteristicModel
Listgroupwill be initialized only if the editor's component doesn't already contain one instance for that particularTmaProductSpecificationModel. This logic is done for proper rendering of the already selected items when navigating backwards through a wizard.- Parameters:
component- current editor component under which the newly createdListgroupwill be added.editorContext- the editor's contexteditorListener- the editor's listener used to intercepting events
-
the group's label is the
-
getProductSpecificationService
-
getPscvListitemRenderer
-
getNotificationService
protected com.hybris.backoffice.widgets.notificationarea.NotificationService getNotificationService()
-