CelumSimpleMediaReferenceUIEditor instead@Deprecated public class CelumMediaReferenceUIEditor extends DefaultMediaReferenceUIEditor
AbstractUIEditor.CancelButtonContainer, AbstractUIEditor.CancelListener, AbstractUIEditor.ErrorDiv| Modifier and Type | Field and Description |
|---|---|
static String |
CELUM_MEDIA_FORMAT_KEY
Deprecated.
|
protected CockpitCelumService |
celumService
Deprecated.
|
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.
|
ATTRIBUTE_QUALIFIER_PARAM, CANCEL_BTN, EVENT_SOURCE, inEditMode, initialEditValue, initialInputString, PROPERTY_DESCRIPTOR_PARAM, SEARCH_MODE_PARAMALLOW_CREATE_PARAM_KEYINITIAL_EDIT_STRING| Constructor and Description |
|---|
CelumMediaReferenceUIEditor()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
HtmlBasedComponent |
createViewComponent(Object initialValue,
Map<String,? extends Object> parameters,
EditorListener listener)
Deprecated.
Creates a new editor component and attaches it to the specified
Page page. |
protected TypedObject |
getAssociatedItem()
Deprecated.
|
protected String |
getCatalogVersionPK()
Deprecated.
|
protected Map<String,String> |
getCelumParameters(Map<String,? extends Object> parameters)
Deprecated.
|
protected DefaultCockpitCelumDelegate |
getCockpitCelumDelegate()
Deprecated.
|
protected String |
getLink(Map<String,? extends Object> parameters)
Deprecated.
|
protected boolean |
isSynchronized()
Deprecated.
|
protected void |
renderEditorContent(HtmlBasedComponent parent,
Object initialValue,
Map<String,? extends Object> parameters,
EditorListener listener)
Deprecated.
|
void |
setFocus(HtmlBasedComponent rootEditorComponent,
boolean selectAll)
Deprecated.
Sets the focus on the given input component which can be the rootEditorComponent or a child of it
|
getModel, getRootSearchType, getRootType, getValue, isInline, 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, setOptionalpublic static final String CELUM_MEDIA_FORMAT_KEY
protected static final String EDITOR_CONTEXT_OBJECT
protected static final String CONTEXT_PATH
protected static final String OPEN_CELUM_EDITOR_IMG
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 DefaultMediaReferenceUIEditorinitialValue - editor's initial valueparameters - parameters passed via configuration for particular editorlistener - the EditorListener that will receive events when the editor's value is changedprotected void renderEditorContent(HtmlBasedComponent parent,
Object initialValue,
Map<String,? extends Object> parameters,
EditorListener listener)
protected boolean isSynchronized()
throws CelumNotAvailableException
CelumNotAvailableExceptionprotected String getLink(Map<String,? extends Object> parameters) throws CelumNotAvailableException, IllegalStateException
protected Map<String,String> getCelumParameters(Map<String,? extends Object> parameters) throws IllegalStateException, CelumNotAvailableException
protected String getCatalogVersionPK()
protected DefaultCockpitCelumDelegate getCockpitCelumDelegate()
protected TypedObject getAssociatedItem()
public void setFocus(HtmlBasedComponent rootEditorComponent,
boolean selectAll)
UIEditorsetFocus in interface UIEditorsetFocus in class DefaultMediaReferenceUIEditorrootEditorComponent - 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.Copyright © 2017 SAP SE. All Rights Reserved.