Class DefaultFeatureUnitUIEditor
- java.lang.Object
-
- de.hybris.platform.cockpit.model.editor.impl.AbstractUIEditor
-
- de.hybris.platform.cockpit.model.editor.impl.DefaultSelectUIEditor
-
- de.hybris.platform.cockpit.model.editor.impl.DefaultFeatureUnitUIEditor
-
- All Implemented Interfaces:
ListUIEditor,UIEditor
public class DefaultFeatureUnitUIEditor extends DefaultSelectUIEditor
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.hybris.platform.cockpit.model.editor.impl.AbstractUIEditor
AbstractUIEditor.CancelButtonContainer, AbstractUIEditor.CancelListener, AbstractUIEditor.ErrorDiv
-
-
Field Summary
Fields Modifier and Type Field Description protected ClassAttributeAssignmentModelassignmentprotected java.util.List<java.lang.Object>availableUnitValues-
Fields inherited from class de.hybris.platform.cockpit.model.editor.impl.DefaultSelectUIEditor
PARAMETER_SORT_ATTRIBUTE, PARAMETER_SORT_DIRECTION
-
Fields inherited from class de.hybris.platform.cockpit.model.editor.impl.AbstractUIEditor
ATTRIBUTE_QUALIFIER_PARAM, CANCEL_BTN, EVENT_SOURCE, inEditMode, initialEditValue, initialInputString, PROPERTY_DESCRIPTOR_PARAM, SEARCH_MODE_PARAM
-
Fields inherited from interface de.hybris.platform.cockpit.model.editor.UIEditor
INITIAL_EDIT_STRING
-
-
Constructor Summary
Constructors Constructor Description DefaultFeatureUnitUIEditor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddObjectToCombo(java.lang.Object value, org.zkoss.zul.Combobox box)org.zkoss.zk.ui.HtmlBasedComponentcreateViewComponent(java.lang.Object initialValue, java.util.Map<java.lang.String,? extends java.lang.Object> parameters, EditorListener listener)Creates a new editor component and attaches it to the specifiedPagepage.-
Methods inherited from class de.hybris.platform.cockpit.model.editor.impl.DefaultSelectUIEditor
getAvailableValues, getEditorType, getEditorView, getPosition, isInline, onSavingEvent, processEditorBehaviourParameters, setAvailableValues, setFocus, setValue
-
Methods inherited from class de.hybris.platform.cockpit.model.editor.impl.AbstractUIEditor
applyReferenceRelatedAttributes, createEditor, createEditor, createEditor, createEditor, filterValues, fireValueChanged, getRootSearchType, getUIEditor, getValue, isEditable, isEditable, isOptional, isSearchMode, parseInitialInputString, parseTemplateCodes, persistValues, persistValues, setEditable, setOptional, setValue
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.hybris.platform.cockpit.model.editor.UIEditor
getValue, isEditable, isOptional, setEditable, setOptional, setValue
-
-
-
-
Field Detail
-
availableUnitValues
protected java.util.List<java.lang.Object> availableUnitValues
-
assignment
protected ClassAttributeAssignmentModel assignment
-
-
Method Detail
-
addObjectToCombo
protected void addObjectToCombo(java.lang.Object value, org.zkoss.zul.Combobox box)- Overrides:
addObjectToComboin classDefaultSelectUIEditor
-
createViewComponent
public org.zkoss.zk.ui.HtmlBasedComponent createViewComponent(java.lang.Object initialValue, java.util.Map<java.lang.String,? extends java.lang.Object> parameters, EditorListener listener)Description copied from interface:UIEditorCreates a new editor component and attaches it to the specifiedPagepage.- Specified by:
createViewComponentin interfaceUIEditor- Overrides:
createViewComponentin classDefaultSelectUIEditor- Parameters:
initialValue- editor's initial valueparameters- parameters passed via configuration for particular editorlistener- theEditorListenerthat will receive events when the editor's value is changed- Returns:
- the editor component
-
-