Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • TreeModelImpl
    • OutlineViewTreeModel

Index

Constructors

Methods

  • areNodesCollapsed(): boolean
  • collapseAll(raw?: Readonly<CompositeTreeNode>): Promise<boolean>
  • expandAll(raw?: TreeNode): void
  • handleExpansion(node: Readonly<ExpandableTreeNode>): void
  • Handle the expansion of the tree node.

    • The method is a no-op in order to preserve focus on the editor after attempting to perform a collapse-all.

    Parameters

    • node: Readonly<ExpandableTreeNode>

      the expandable tree node.

    Returns void

  • openNode(raw?: TreeNode): void
  • The default behavior of openNode calls doOpenNode which by default toggles the expansion of the node. Overriding to prevent expansion, but allow for the onOpenNode event to still fire on a double-click event.

    Parameters

    • Optional raw: TreeNode

    Returns void