Interface SelectableTreeNode

A selectable tree node.

interface SelectableTreeNode {
    busy?: number;
    checkboxInfo?: TreeViewItemCheckboxInfo;
    description?: string;
    focus?: boolean;
    icon?: string;
    id: string;
    name?: string;
    nextSibling?: TreeNode;
    parent: undefined | Readonly<CompositeTreeNode>;
    previousSibling?: TreeNode;
    selected: boolean;
    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.

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

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.

visible?: boolean

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