Package de.hybris.platform.configurablebundlecockpits.productcockpit.model.referenceeditor.simple.impl
Class MinimalReferenceUIEditor
java.lang.Object
de.hybris.platform.cockpit.model.editor.impl.AbstractUIEditor
de.hybris.platform.cockpit.model.referenceeditor.impl.AbstractReferenceUIEditor
de.hybris.platform.cockpit.model.referenceeditor.simple.impl.DefaultSimpleReferenceUIEditor
de.hybris.platform.configurablebundlecockpits.productcockpit.model.referenceeditor.simple.impl.MinimalReferenceUIEditor
- All Implemented Interfaces:
ReferenceUIEditor,UIEditor
-
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 inherited from class de.hybris.platform.cockpit.model.referenceeditor.simple.impl.DefaultSimpleReferenceUIEditor
AUTOCOMPLETION_SEARCHTYPE, DISABLE_ON_BLUR_PARAMETER, model, PREDEFINED_PROPERTY_VALUES, selectorController, simpleSelectorFields 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_PARAMFields inherited from interface de.hybris.platform.cockpit.model.editor.ReferenceUIEditor
ALLOW_CREATE_PARAM_KEYFields inherited from interface de.hybris.platform.cockpit.model.editor.UIEditor
INITIAL_EDIT_STRING -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.zkoss.zk.ui.HtmlBasedComponentcreateViewComponent(Object initialValue, Map<String, ?> parameters, EditorListener listener) Creates a new editor component and attaches it to the specifiedPagepage.protected booleanisAllowActivateNew(Map<String, ? extends Object> parameters) Methods inherited from class de.hybris.platform.cockpit.model.referenceeditor.simple.impl.DefaultSimpleReferenceUIEditor
getModel, getRootSearchType, getRootType, getTypeService, getValue, isInline, parseInitialParameters, setAutocompletionSearchType, setFocus, setRootSearchType, setRootType, setValueMethods inherited from class de.hybris.platform.cockpit.model.referenceeditor.impl.AbstractReferenceUIEditor
findMaxAutocompleteSearchResults, getBooleanParameter, getEditorType, isAllowCreate, setAllowCreateMethods inherited from class de.hybris.platform.cockpit.model.editor.impl.AbstractUIEditor
applyReferenceRelatedAttributes, createEditor, createEditor, createEditor, createEditor, filterValues, fireValueChanged, getRootSearchType, getUIEditor, isEditable, isEditable, isOptional, isSearchMode, parseInitialInputString, parseTemplateCodes, persistValues, persistValues, setEditable, setOptionalMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.hybris.platform.cockpit.model.editor.UIEditor
isEditable, isOptional, setEditable, setOptional
-
Constructor Details
-
MinimalReferenceUIEditor
public MinimalReferenceUIEditor() -
MinimalReferenceUIEditor
- Parameters:
rootType-
-
-
Method Details
-
createViewComponent
public org.zkoss.zk.ui.HtmlBasedComponent createViewComponent(Object initialValue, Map<String, ?> parameters, EditorListener listener) Description copied from interface:UIEditorCreates a new editor component and attaches it to the specifiedPagepage.- Specified by:
createViewComponentin interfaceUIEditor- Overrides:
createViewComponentin classDefaultSimpleReferenceUIEditor- 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
-
isAllowActivateNew
-