Theia API Documentation v1.77.0
    Preparing search index...

    The tree - an abstract data type.

    Hierarchy (View Summary)

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

      • nodeOrId: string | TreeNode | undefined

      Returns Promise<TreeNode | undefined>