Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

Properties

onDidChangeOpenStateEmitter: Emitter<boolean> = ...
onDidUpdate: Event<void> = ...
onDidUpdateEmitter: Emitter<void> = ...
LABEL: string = ...

Methods

  • createNodeAttributes(node: TreeNode, props: NodeProps): Attributes & HTMLAttributes<HTMLElement>
  • deflateForStorage(node: TreeNode): object
  • getNodeTooltip(node: TreeNode): undefined | string
  • Get the tooltip for the given tree node.

    • The tooltip is discovered when hovering over a tree node.
    • If available, the tooltip is the concatenation of the node name, and it's type.

    Parameters

    • node: TreeNode

      the tree node.

    Returns undefined | string

    the tooltip for the tree node if available, else undefined.

  • getRoot(children: TreeNode[]): CompositeTreeNode
  • inflateFromStorage(node: any, parent?: TreeNode): TreeNode
  • init(): void
  • isExpandable(node: TreeNode): node is ExpandableTreeNode
  • onAfterHide(msg: Message): void
  • onAfterShow(msg: Message): void
  • reconcileTreeState(nodes: TreeNode[]): TreeNode[]
  • renderIcon(node: TreeNode, props: NodeProps): ReactNode
  • renderTree(model: TreeModel): ReactNode