Options
All
  • Public
  • Public/Protected
  • All
Menu

Class AbstractTreeDecoratorService

Abstract decorator service implementation which emits events from all known tree decorators and caches the current state.

Hierarchy

Implements

Index

Constructors

constructor

Properties

Protected Readonly decorators

decorators: ReadonlyArray<TreeDecorator>

Readonly onDidChangeDecorations

onDidChangeDecorations: Event<void> = this.onDidChangeDecorationsEmitter.event

Protected Readonly onDidChangeDecorationsEmitter

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

Protected Readonly toDispose

toDispose: DisposableCollection = new DisposableCollection()

Methods

deflateDecorators

  • deflateDecorators(decorations: Map<string, TreeDecoration.Data[]>): object

dispose

  • dispose(): void

getDecorations

  • getDecorations(tree: Tree): Promise<Map<string, TreeDecoration.Data[]>>

inflateDecorators

  • inflateDecorators(state: any): Map<string, TreeDecoration.Data[]>