Class PromptEditorTabManagerTransform

    • Constructor Detail

      • PromptEditorTabManagerTransform

        public PromptEditorTabManagerTransform()
    • Method Detail

      • renderJavascript

        protected void renderJavascript​(MarkupOutput out)
        Description copied from class: TabManagerTransform
        Generate the JavaScript code required by this editor manager for the proper behavior on the client. Extends the parent method by adding extra property values as well as the required library for it to work properly.
        Overrides:
        renderJavascript in class HelpOnCBTabManagerTransform
        Parameters:
        out - MarkupOutput instance where the HTML output will be saved.
      • initHelp

        protected void initHelp​(Editor editor)
        Initialize help type and topic for specific dialog.
        Overrides:
        initHelp in class HelpOnCBTabManagerTransform
        Parameters:
        editor - Editor instance, abstraction of the container where output is rendered.
      • getObjectBrowserContextFolders

        public java.util.List getObjectBrowserContextFolders​(int contextId)
        Return a list of WebObjectInfo objects, which are the browser starting folders, according to the contextId.
        Parameters:
        contextId - an id from EnumObjectBrowserContexts
        Returns:
        a list of WebObjectInfo objects.
      • getProjectID

        protected java.lang.String getProjectID()
        Private method that gets the Project ID from the session manager
        Overrides:
        getProjectID in class AbstractAppTransform
        Returns:
        String projectID
      • getRootFolder

        public WebObjectInfo getRootFolder​(int contextId)
      • getFlattenedContexFolderList

        public java.util.List getFlattenedContexFolderList​(int contextId)
      • getFlattenedContextFolderPath

        public java.lang.String getFlattenedContextFolderPath​(int contextId)
      • renderPreferenceValue

        public void renderPreferenceValue​(MarkupOutput out,
                                          java.lang.String prefName)
      • renderPreferenceValueReplaceNull

        public void renderPreferenceValueReplaceNull​(MarkupOutput out,
                                                     java.lang.String prefName,
                                                     java.lang.String nullReplace)
      • getSelf

        public java.lang.Object getSelf​(java.lang.Object obj)
        Returns the input argument as return value. This method is used in layout when one base value needs to assign to another base value. For example, we have base "obj", then when the type of "obj" is a certain value, we would like base "obj2" equals to "obj". Then in layout we can have . After this, obj2 points to the same object as "obj" points to.
        Parameters:
        obj - object to return
        Returns:
        Returns the input argument.
      • isNull

        public boolean isNull​(java.lang.Object obj)
        Returns whether the input argument is null.
        Parameters:
        obj - The object to check again null
        Returns:
        true if the input is null, otherwise false is returned.
      • getCssName

        public java.lang.String getCssName​(WebObjectInfo object)
      • getAttForms

        public java.util.List getAttForms​(WebAttribute att)
      • includeTimeInfo

        public boolean includeTimeInfo()
      • isShowObjectTags

        public boolean isShowObjectTags()
      • includeOwnerInfo

        public boolean includeOwnerInfo()
      • renderHelpPath

        public void renderHelpPath​(MarkupOutput out)