Class CollectionUIEditorMedia
- 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.collection.CollectionUIEditor
-
- de.hybris.platform.cockpit.model.referenceeditor.collection.CollectionUIEditorMedia
-
- All Implemented Interfaces:
ReferenceUIEditor,UIEditor
- Direct Known Subclasses:
CelumMediaCollectionUIEditor
public class CollectionUIEditorMedia extends CollectionUIEditor
Simplistic Reference Collection Editor. Note:
User now is able to select some values directly from auto completed list using both mouse and keyboard - this caused that this component is more intuitive an user-friendly.
-
-
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.collection.CollectionUIEditor
collectionController, collectionEditor, model
-
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.ReferenceUIEditor
ALLOW_CREATE_PARAM_KEY
-
Fields inherited from interface de.hybris.platform.cockpit.model.editor.UIEditor
INITIAL_EDIT_STRING
-
-
Constructor Summary
Constructors Constructor Description CollectionUIEditorMedia()CollectionUIEditorMedia(ObjectType rootType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CollectionEditorcreateCollectionEditor(EditorListener listener, AdditionalReferenceEditorListener additionalListener)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.protected booleanisShowEditButton()-
Methods inherited from class de.hybris.platform.cockpit.model.referenceeditor.collection.CollectionUIEditor
assignedPassedValue, getModel, getRootSearchType, getRootType, getValue, isInline, registerEventListeners, setRootSearchType, setRootType, setValue
-
Methods inherited from class de.hybris.platform.cockpit.model.referenceeditor.impl.AbstractReferenceUIEditor
findMaxAutocompleteSearchResults, getBooleanParameter, getEditorType, isAllowCreate, setAllowCreate
-
Methods 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, setFocus, setOptional
-
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
isEditable, isOptional, setEditable, setFocus, setOptional
-
-
-
-
Constructor Detail
-
CollectionUIEditorMedia
public CollectionUIEditorMedia()
-
CollectionUIEditorMedia
public CollectionUIEditorMedia(ObjectType rootType)
-
-
Method Detail
-
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 classCollectionUIEditor- 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
-
isShowEditButton
protected boolean isShowEditButton()
-
createCollectionEditor
public CollectionEditor createCollectionEditor(EditorListener listener, AdditionalReferenceEditorListener additionalListener)
- Overrides:
createCollectionEditorin classCollectionUIEditor
-
-