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 Details

  • 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

      public ClassificationAttributeAssignmentService getClassificationAttributeAssignmentService()
    • getClassificationSystemService

      public ClassificationSystemService getClassificationSystemService()
    • getLabelService

      public com.hybris.cockpitng.labels.LabelService getLabelService()