The tree - an abstract data type.

Hierarchy (view full)

Implements

Constructors

Properties

expansionService: TreeExpansionService
focusService: TreeFocusService
logger: ILogger
navigationService: TreeNavigationService
onChangedEmitter: Emitter<void> = ...
onOpenNodeEmitter: Emitter<TreeNode> = ...
selectionService: TreeSelectionService
toDispose: DisposableCollection = ...
tree: Tree
treeSearch: TreeSearch

Accessors

Methods

  • Registers the given selection into the tree selection service. If the selection state changes after adding the selectionOrTreeNode argument, a selection changed event will be fired. If the argument is a tree node, a it will be treated as a tree selection with the default selection type.

    Parameters

    Returns void

  • Navigates to the given node if it is defined. This method accepts both the tree node and its ID as an argument. Navigation sets a node as a root node and expand it. Resolves to the node if the navigation was successful. Otherwise, resolves to undefined.

    Parameters

    Returns Promise<undefined | TreeNode>