Class CelumMediaReferenceUIEditor

    • Field Detail

      • CELUM_MEDIA_FORMAT_KEY

        public static final java.lang.String CELUM_MEDIA_FORMAT_KEY
        Deprecated.
        See Also:
        Constant Field Values
      • EDITOR_CONTEXT_OBJECT

        protected static final java.lang.String EDITOR_CONTEXT_OBJECT
        Deprecated.
        See Also:
        Constant Field Values
      • CONTEXT_PATH

        protected static final java.lang.String CONTEXT_PATH
        Deprecated.
        See Also:
        Constant Field Values
      • OPEN_CELUM_EDITOR_IMG

        protected static final java.lang.String OPEN_CELUM_EDITOR_IMG
        Deprecated.
        See Also:
        Constant Field Values
      • OPEN_CELUM_EDITOR_NOSYNC_IMG

        protected static final java.lang.String OPEN_CELUM_EDITOR_NOSYNC_IMG
        Deprecated.
        See Also:
        Constant Field Values
    • Constructor Detail

      • CelumMediaReferenceUIEditor

        public CelumMediaReferenceUIEditor()
        Deprecated.
    • 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)
        Deprecated.
        Description copied from interface: UIEditor
        Creates a new editor component and attaches it to the specified Page page.
        Specified by:
        createViewComponent in interface UIEditor
        Overrides:
        createViewComponent in class DefaultMediaReferenceUIEditor
        Parameters:
        initialValue - editor's initial value
        parameters - parameters passed via configuration for particular editor
        listener - the EditorListener that will receive events when the editor's value is changed
        Returns:
        the editor component
      • renderEditorContent

        protected void renderEditorContent​(org.zkoss.zk.ui.HtmlBasedComponent parent,
                                           java.lang.Object initialValue,
                                           java.util.Map<java.lang.String,​? extends java.lang.Object> parameters,
                                           EditorListener listener)
        Deprecated.
      • getLink

        protected java.lang.String getLink​(java.util.Map<java.lang.String,​? extends java.lang.Object> parameters)
                                    throws CelumNotAvailableException,
                                           java.lang.IllegalStateException
        Deprecated.
        Throws:
        CelumNotAvailableException
        java.lang.IllegalStateException
      • getCelumParameters

        protected java.util.Map<java.lang.String,​java.lang.String> getCelumParameters​(java.util.Map<java.lang.String,​? extends java.lang.Object> parameters)
                                                                                     throws java.lang.IllegalStateException,
                                                                                            CelumNotAvailableException
        Deprecated.
        Throws:
        java.lang.IllegalStateException
        CelumNotAvailableException
      • getCatalogVersionPK

        protected java.lang.String getCatalogVersionPK()
        Deprecated.
      • getAssociatedItem

        protected TypedObject getAssociatedItem()
        Deprecated.
      • setFocus

        public void setFocus​(org.zkoss.zk.ui.HtmlBasedComponent rootEditorComponent,
                             boolean selectAll)
        Deprecated.
        Description copied from interface: UIEditor
        Sets the focus on the given input component which can be the rootEditorComponent or a child of it
        Specified by:
        setFocus in interface UIEditor
        Overrides:
        setFocus in class DefaultMediaReferenceUIEditor
        Parameters:
        rootEditorComponent - the rootEditorComponent which is returned on method createViewComponent
        selectAll - if true, select the whole input field after focus. It is not guaranteed that the editor supports selection.