Class AbstractPropertyEditorDescriptor
java.lang.Object
de.hybris.platform.cockpit.model.meta.impl.AbstractPropertyEditorDescriptor
- All Implemented Interfaces:
PropertyEditorDescriptor
- Direct Known Subclasses:
DefaultPropertyEditorDescriptor
public abstract class AbstractPropertyEditorDescriptor
extends Object
implements PropertyEditorDescriptor
Base class for property editor descriptors. Basically provides the label and the preview image.
-
Field Summary
Fields inherited from interface de.hybris.platform.cockpit.model.meta.PropertyEditorDescriptor
DEFAULT, MULTI, RANGE, SINGLE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe editor type to matchPropertyDescriptor.getEditorType().getLabel()The public label of this editor descriptor.The optional preview image url.voidsetEditorType(String editorType) voidvoidsetPreviewImage(String previewImage) Methods 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.meta.PropertyEditorDescriptor
createUIEditor, createUIEditor, createValueBean
-
Constructor Details
-
AbstractPropertyEditorDescriptor
public AbstractPropertyEditorDescriptor()
-
-
Method Details
-
setLabel
-
getLabel
Description copied from interface:PropertyEditorDescriptorThe public label of this editor descriptor. It is shown wherever the user is able to select a editor.- Specified by:
getLabelin interfacePropertyEditorDescriptor
-
getPreviewImage
Description copied from interface:PropertyEditorDescriptorThe optional preview image url. It may be shown wherever the user is able to choose between different editors.- Specified by:
getPreviewImagein interfacePropertyEditorDescriptor
-
setPreviewImage
-
getEditorType
Description copied from interface:PropertyEditorDescriptorThe editor type to matchPropertyDescriptor.getEditorType(). This way the system can determine which editors are appropriate for a property descriptor.- Specified by:
getEditorTypein interfacePropertyEditorDescriptor
-
setEditorType
-