Interface CompositeTreeNode

The composite tree node.

interface CompositeTreeNode {
    busy?: number;
    checkboxInfo?: TreeViewItemCheckboxInfo;
    children: readonly TreeNode[];
    description?: string;
    icon?: string;
    id: string;
    name?: string;
    nextSibling?: TreeNode;
    parent: undefined | Readonly<CompositeTreeNode>;
    previousSibling?: TreeNode;
    visible?: boolean;
}

Hierarchy (view full)

Properties

busy?: number

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

Whether this node is checked.

children: readonly TreeNode[]

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

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 | Readonly<CompositeTreeNode>

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

previousSibling?: TreeNode

A previous sibling of this tree node.

visible?: boolean

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