Options
All
  • Public
  • Public/Protected
  • All
Menu

Class OutlineViewTreeModel

Hierarchy

Implements

Index

Properties

Protected Readonly expansionService

expansionService: TreeExpansionService

Protected Readonly logger

logger: ILogger

Protected Readonly navigationService

navigationService: TreeNavigationService

Protected Readonly onChangedEmitter

onChangedEmitter: Emitter<void> = new Emitter<void>()

Protected Readonly onOpenNodeEmitter

onOpenNodeEmitter: Emitter<TreeNode> = new Emitter<TreeNode>()

Protected Readonly selectionService

selectionService: TreeSelectionService

Protected Readonly toDispose

toDispose: DisposableCollection = new DisposableCollection()

Protected Readonly tree

tree: Tree

Protected Readonly treeSearch

treeSearch: TreeSearch

Accessors

onChanged

  • get onChanged(): Event<void>

onDidChangeBusy

onExpansionChanged

onNodeRefreshed

onOpenNode

onSelectionChanged

  • get onSelectionChanged(): Event<ReadonlyArray<{}>>

root

selectedNodes

  • get selectedNodes(): ReadonlyArray<{}>

Methods

addSelection

canNavigateBackward

  • canNavigateBackward(): boolean

canNavigateForward

  • canNavigateForward(): boolean

collapseAll

collapseNode

Protected createBackwardIterator

Protected createIterator

dispose

  • dispose(): void

Protected doGetNextNode

Protected doNavigate

  • doNavigate(node: TreeNode): Promise<void>

Protected doOpenNode

expandNode

Protected fireChanged

  • fireChanged(): void

getNextSelectableNode

getNode

  • getNode(id: string | undefined): TreeNode | undefined

getPrevSelectableNode

Protected handleExpansion

Protected init

  • init(): void

Protected isVisibleSelectableNode

  • isVisibleSelectableNode(node: TreeNode): node is SelectableTreeNode

markAsBusy

navigateBackward

  • navigateBackward(): Promise<void>

navigateForward

  • navigateForward(): Promise<void>

navigateTo

  • navigateTo(nodeOrId: TreeNode | string | undefined): Promise<TreeNode | undefined>

openNode

  • openNode(raw?: TreeNode | undefined): void

refresh

restoreState

  • restoreState(state: State): void

Protected selectIfAncestorOfSelected

selectNextNode

selectNode

selectParent

  • selectParent(): void

selectPrevNode

selectRange

storeState

toggleNode

toggleNodeExpansion

validateNode