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

    The tree - an abstract data type.

    Hierarchy (View Summary)

    Implements

    Index

    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

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