Options
All
  • Public
  • Public/Protected
  • All
Menu

Class SourceTree

Hierarchy

Implements

Index

Constructors

constructor

Properties

Protected _root

_root: TreeNode | undefined

Protected nodes

nodes: {}

Type declaration

Protected Readonly onChangedEmitter

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

Readonly onDidChangeBusy

onDidChangeBusy: Event<TreeNode> = this.onDidChangeBusyEmitter.event

Protected Readonly onDidChangeBusyEmitter

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

Protected Readonly onNodeRefreshedEmitter

onNodeRefreshedEmitter: Emitter<CompositeTreeNode & WaitUntilEvent> = new Emitter<CompositeTreeNode & WaitUntilEvent>()

Protected Readonly toDispose

toDispose: DisposableCollection = new DisposableCollection()

Accessors

onChanged

  • get onChanged(): Event<void>

onNodeRefreshed

root

Methods

Protected addNode

  • addNode(node: TreeNode | undefined): void

dispose

  • dispose(): void

Protected doMarkAsBusy

Protected doResetBusy

Protected doSetBusy

Protected fireChanged

  • fireChanged(): void

Protected fireNodeRefreshed

getNode

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

Protected getRootNode

markAsBusy

refresh

Protected removeNode

  • removeNode(node: TreeNode | undefined): void

resolveChildren

Protected resolveElements

Protected setChildren

Protected toNode

validateNode