Class AbstractObjectExplorerTreeTransform

    • Field Detail

      • tree

        protected TreeView tree
        TreeView that is used to render the tree once it's populated
      • populateChildren

        protected boolean populateChildren
      • INCREMENTAL_FETCH_PREVIOUS

        protected static final int INCREMENTAL_FETCH_PREVIOUS
        See Also:
        Constant Field Values
      • INCREMENTAL_FETCH_NEXT

        protected static final int INCREMENTAL_FETCH_NEXT
        See Also:
        Constant Field Values
    • Constructor Detail

      • AbstractObjectExplorerTreeTransform

        public AbstractObjectExplorerTreeTransform()
    • Method Detail

      • isRenderEntireTree

        protected boolean isRenderEntireTree()
        Indicates whether it's necessary to render the entire tree
        Returns:
        true if need to render the entire tree; false otherwise
      • isRenderAsTree

        protected boolean isRenderAsTree()
        Returns whether the object browser has been rendered in list view or tree view
        Returns:
        boolean
      • renderTree

        public void renderTree​(MarkupOutput out)
        Method renders the object browser in the tree view.
        Parameters:
        out -
      • populateTreeNodes

        protected void populateTreeNodes​(java.util.List children,
                                         TreeNode parentNode)
        Method populates a tree node with its contents.
        Parameters:
        children -
        parentNode -
      • createNewNode

        protected TreeNode createNewNode​(java.lang.Object childObj,
                                         boolean isExpanded)
        Creates a new tree node for the tree view.
        Parameters:
        childObj -
        isExpanded -
      • generateIncrementalFetchNode

        protected TreeNode generateIncrementalFetchNode​(int direction)
      • newTreeNode

        protected TreeNode newTreeNode​(WebDisplayUnit object)
        Creates and populates a single tree node
      • newTreeNodeLink

        protected TreeNode newTreeNodeLink​(WebDisplayUnit object)
        Creates and populates a single tree node
        Parameters:
        object - WebDisplayUnit
      • populateWithChildren

        protected java.util.List populateWithChildren​(WebDisplayUnit webFolder)
        Method returns a list populated with the folder's children.
        Parameters:
        webFolder -
      • addLinks

        protected void addLinks​(TreeNode node)
        Method adds the standard shortcut links that have to be displayed after the contents of the object browser. These links are shortcuts to the Attributes, Metrics, Hierarchies ... folders
        Parameters:
        node -
      • constructEntireTree

        protected abstract TreeNode constructEntireTree()
      • getLinkCssName

        protected abstract java.lang.String getLinkCssName​(WebDisplayUnit wdu)
      • shouldRenderLinks

        protected abstract boolean shouldRenderLinks​(TreeNode node)