Interface TreeSourceNode

The composite tree node.

interface TreeSourceNode {
    busy?: number;
    checkboxInfo?: TreeViewItemCheckboxInfo;
    children: TreeElementNode[];
    description?: string;
    focus?: boolean;
    icon?: string;
    id: string;
    name?: string;
    nextSibling?: TreeNode;
    parent: undefined;
    previousSibling?: TreeNode;
    selected: boolean;
    source: TreeSource;
    visible: false;
}

Hierarchy (view full)

Properties

busy?: number

Whether this node is busy. Greater than 0 then busy; otherwise not.

Whether this node is checked.

children: TreeElementNode[]

Child nodes of this tree node.

description?: string

A human-readable description of this tree node.

Deprecated

use LabelProvider.getLongName instead or move this property to your tree node type

focus?: boolean

Deprecated

Since

1.27.0. Use TreeFocusService to track the focused node.

true if the tree node has the focus. Otherwise, false. Defaults to false.

icon?: string

A css string for this tree node icon.

Deprecated

use LabelProvider.getIcon instead or move this property to your tree node type

id: string

An unique id of this node.

name?: string

A human-readable name of this tree node.

Deprecated

use LabelProvider.getName instead or move this property to your tree node type

nextSibling?: TreeNode

A next sibling of this tree node.

parent: undefined

A parent node of this tree node. Undefined if this node is root.

previousSibling?: TreeNode

A previous sibling of this tree node.

selected: boolean

true if the tree node is selected. Otherwise, false.

source: TreeSource
visible: false

Test whether this node should be rendered. If undefined then node will be rendered.