Class CompressedTreeModel

The tree - an abstract data type.

Hierarchy (view full)

Constructors

Properties

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

Accessors

Methods

  • 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>