Class NumberWithClassificationUnitEditor
java.lang.Object
com.hybris.cockpitng.editors.impl.AbstractCockpitEditorRenderer<Number>
de.hybris.platform.platformbackoffice.editors.numberwithclassificationunit.NumberWithClassificationUnitEditor
- All Implemented Interfaces:
com.hybris.cockpitng.editors.CockpitEditorRenderer<Number>
public class NumberWithClassificationUnitEditor
extends com.hybris.cockpitng.editors.impl.AbstractCockpitEditorRenderer<Number>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringstatic final StringFields 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 Collection<ClassificationAttributeUnitModel>protected ClassificationAttributeUnitModelfindClassificationUnit(com.hybris.cockpitng.editors.EditorContext context) com.hybris.cockpitng.labels.LabelServiceprotected booleanisUnitSelected(org.zkoss.zul.Combobox unitCombobox) protected NumberonValueChange(com.hybris.cockpitng.components.Editor valueEditor, org.zkoss.zul.Combobox unitCombobox) voidrender(org.zkoss.zk.ui.Component parent, com.hybris.cockpitng.editors.EditorContext context, com.hybris.cockpitng.editors.EditorListener listener) protected org.zkoss.zul.ComboboxrenderUnitComboBox(org.zkoss.zk.ui.Component parent, ClassificationAttributeUnitModel baseUnit, Collection<ClassificationAttributeUnitModel> units) protected com.hybris.cockpitng.components.EditorrenderValueInput(org.zkoss.zk.ui.Component parent, com.hybris.cockpitng.editors.EditorContext context) Methods inherited from class com.hybris.cockpitng.editors.impl.AbstractCockpitEditorRenderer
extractEmbeddedEditor, extractEmbeddedType, findAncestorEditor, findEmbeddedEditors, getInitialEditString, getL10nDecorator
-
Field Details
-
YW_FEATURE_VALUE_CONTAINER_WITH_UNIT
- See Also:
-
CLASSIFICATION_ATTRIBUTE_QUALIFIER
- See Also:
-
CATALOG_ID
- See Also:
-
SYSTEM_VERSION
- See Also:
-
CLASSIFICATION_CLASS_CODE
- See Also:
-
CLASSIFICATION_ATTRIBUTE_CODE
- See Also:
-
CLASSIFICATION_ATTRIBUTE_UNIT_CODE
- See Also:
-
-
Constructor Details
-
NumberWithClassificationUnitEditor
public NumberWithClassificationUnitEditor()
-
-
Method Details
-
render
public void render(org.zkoss.zk.ui.Component parent, com.hybris.cockpitng.editors.EditorContext context, com.hybris.cockpitng.editors.EditorListener listener) -
renderValueInput
protected com.hybris.cockpitng.components.Editor renderValueInput(org.zkoss.zk.ui.Component parent, com.hybris.cockpitng.editors.EditorContext context) -
renderUnitComboBox
protected org.zkoss.zul.Combobox renderUnitComboBox(org.zkoss.zk.ui.Component parent, ClassificationAttributeUnitModel baseUnit, Collection<ClassificationAttributeUnitModel> units) -
findClassificationUnit
protected ClassificationAttributeUnitModel findClassificationUnit(com.hybris.cockpitng.editors.EditorContext context) -
onValueChange
protected Number onValueChange(com.hybris.cockpitng.components.Editor valueEditor, org.zkoss.zul.Combobox unitCombobox) -
isUnitSelected
protected boolean isUnitSelected(org.zkoss.zul.Combobox unitCombobox) -
findAllConvertibleUnits
protected Collection<ClassificationAttributeUnitModel> findAllConvertibleUnits(ClassificationAttributeUnitModel baseUnit) -
getClassificationAttributeAssignmentService
-
getClassificationSystemService
-
getLabelService
public com.hybris.cockpitng.labels.LabelService getLabelService()
-