public class CelumSimpleMediaReferenceUIEditor extends DefaultSimpleMediaReferenceUIEditor
AbstractUIEditor.CancelButtonContainer, AbstractUIEditor.CancelListener, AbstractUIEditor.ErrorDiv| Modifier and Type | Field and Description |
|---|---|
static String |
CELUM_MEDIA_FORMAT_KEY
Deprecated.
|
protected CockpitCelumService |
celumService |
protected static String |
CONTEXT_PATH
Deprecated.
|
protected static String |
EDITOR_CONTEXT_OBJECT
Deprecated.
|
protected static String |
OPEN_CELUM_EDITOR_IMG
Deprecated.
|
protected static String |
OPEN_CELUM_EDITOR_NOSYNC_IMG
Deprecated.
|
AUTOCOMPLETION_SEARCHTYPE, DISABLE_ON_BLUR_PARAMETER, model, PREDEFINED_PROPERTY_VALUES, selectorController, simpleSelectorATTRIBUTE_QUALIFIER_PARAM, CANCEL_BTN, EVENT_SOURCE, inEditMode, initialEditValue, initialInputString, PROPERTY_DESCRIPTOR_PARAM, SEARCH_MODE_PARAMALLOW_CREATE_PARAM_KEYINITIAL_EDIT_STRING| Constructor and Description |
|---|
CelumSimpleMediaReferenceUIEditor() |
| Modifier and Type | Method and Description |
|---|---|
HtmlBasedComponent |
createViewComponent(Object initialValue,
Map<String,? extends Object> parameters,
EditorListener listener)
Creates a new editor component and attaches it to the specified
Page page. |
protected TypedObject |
getAssociatedItem()
Deprecated.
Use
CelumMediaEditorBase.getAssociatedItem() instead |
protected String |
getCatalogVersionPK()
Deprecated.
Use
CelumMediaEditorBase.getCatalogVersionPK() instead |
protected Map<String,String> |
getCelumParameters(Map<String,? extends Object> parameters)
Deprecated.
Use
CelumMediaEditorBase.getCelumParameters(Map) instead |
protected DefaultCockpitCelumDelegate |
getCockpitCelumDelegate()
Deprecated.
|
protected String |
getLink(Map<String,? extends Object> parameters)
Deprecated.
Use
CelumMediaEditorBase.getLink(Map, boolean) instead |
protected boolean |
isSynchronized()
Deprecated.
Use
CelumMediaEditorBase.isSynchronized(Object) instead |
protected void |
renderEditorContent(HtmlBasedComponent parent,
Object initialValue,
Map<String,? extends Object> parameters,
EditorListener listener) |
void |
setFocus(HtmlBasedComponent rootEditorComponent,
boolean selectAll)
Sets the focus on the given input component which can be the rootEditorComponent or a child of it
|
getModel, getRootSearchType, getRootType, getTypeService, getValue, isInline, parseInitialParameters, setAutocompletionSearchType, setRootSearchType, setRootType, setValuefindMaxAutocompleteSearchResults, getEditorType, isAllowCreate, setAllowCreateapplyReferenceRelatedAttributes, createEditor, createEditor, createEditor, createEditor, filterValues, fireValueChanged, getRootSearchType, getUIEditor, isEditable, isEditable, isOptional, isSearchMode, parseInitialInputString, parseTemplateCodes, persistValues, persistValues, setEditable, setOptionalclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisEditable, isOptional, setEditable, setOptional@Deprecated public static final String CELUM_MEDIA_FORMAT_KEY
@Deprecated protected static final String CONTEXT_PATH
@Deprecated protected static final String EDITOR_CONTEXT_OBJECT
@Deprecated protected static final String OPEN_CELUM_EDITOR_IMG
@Deprecated protected static final String OPEN_CELUM_EDITOR_NOSYNC_IMG
protected CockpitCelumService celumService
public HtmlBasedComponent createViewComponent(Object initialValue, Map<String,? extends Object> parameters, EditorListener listener)
UIEditorPage page.createViewComponent in interface UIEditorcreateViewComponent in class DefaultSimpleMediaReferenceUIEditorinitialValue - editor's initial valueparameters - parameters passed via configuration for particular editorlistener - the EditorListener that will receive events when the editor's value is changedpublic void setFocus(HtmlBasedComponent rootEditorComponent,
boolean selectAll)
UIEditorsetFocus in interface UIEditorsetFocus in class DefaultSimpleReferenceUIEditorrootEditorComponent - the rootEditorComponent which is returned on method createViewComponentselectAll - if true, select the whole input field after focus. It is not guaranteed that the editor supports selection.@Deprecated protected TypedObject getAssociatedItem()
CelumMediaEditorBase.getAssociatedItem() instead@Deprecated protected String getCatalogVersionPK()
CelumMediaEditorBase.getCatalogVersionPK() instead@Deprecated protected Map<String,String> getCelumParameters(Map<String,? extends Object> parameters) throws IllegalStateException, CelumNotAvailableException
CelumMediaEditorBase.getCelumParameters(Map) insteadparameters - the parametersIllegalStateException - the illegal state exceptionCelumNotAvailableException - the celum not available exception@Deprecated protected DefaultCockpitCelumDelegate getCockpitCelumDelegate()
@Deprecated protected String getLink(Map<String,? extends Object> parameters) throws CelumNotAvailableException, IllegalStateException
CelumMediaEditorBase.getLink(Map, boolean) insteadparameters - the parametersCelumNotAvailableException - the celum not available exceptionIllegalStateException - the illegal state exception@Deprecated protected boolean isSynchronized() throws CelumNotAvailableException
CelumMediaEditorBase.isSynchronized(Object) insteadCelumNotAvailableException - the celum not available exceptionprotected void renderEditorContent(HtmlBasedComponent parent,
Object initialValue,
Map<String,? extends Object> parameters,
EditorListener listener)
Copyright © 2017 SAP SE. All Rights Reserved.