Options
All
  • Public
  • Public/Protected
  • All
Menu
deprecated

since 1.25.0 URI-based decorators should implement DecorationsProvider and contribute decorations via the DecorationsService.

Hierarchy

  • ProblemDecorator

Implements

  • TreeDecorator

Index

Constructors

Properties

emitter: Emitter<((tree: Tree) => Map<string, Data>)>
id: "theia-problem-decorator" = 'theia-problem-decorator'
labelProvider: LabelProvider
problemManager: ProblemManager
problemPreferences: ProblemPreferences
workspaceService: WorkspaceService

Accessors

  • get onDidChangeDecorations(): Event<((tree: Tree) => Map<string, Data>)>

Methods

  • appendContainerMarkers(node: TreeNode, decoration: Data, decorations: Map<string, Data>): void
  • collectDecorators(tree: Tree): Map<string, Data>
  • collectMarkers(tree: Tree): Map<string, Data>
  • compare(left: Marker<Diagnostic>, right: Marker<Diagnostic>): number
  • compareDecorators(left: Data, right: Data): number
  • decorations(tree: Tree): Promise<Map<string, Data>>
  • filterMarker(marker: Marker<Diagnostic>): boolean
  • fireDidChangeDecorations(event: ((tree: Tree) => Map<string, Data>)): void
  • generateCaptionSuffix(nodeURI: URI): string
  • getColor(marker: Marker<Diagnostic>): string
  • getPriority(marker: Marker<Diagnostic>): number
  • getUriFromNode(node: TreeNode): undefined | string
  • init(): void
  • toDecorator(markers: Marker<Diagnostic>[]): Data