Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ProgressStatusBarItem

Hierarchy

  • ProgressStatusBarItem

Implements

Index

Properties

Protected Readonly id

id: "theia-progress-status-bar-item" = "theia-progress-status-bar-item"

Protected incomingQueue

incomingQueue: string[] = new Array<string>()

Protected messagesByProgress

messagesByProgress: Map<string, undefined | string> = new Map<string, string | undefined>()

Protected Readonly statusBar

statusBar: StatusBar

Protected Readonly triggerUpdate

triggerUpdate: DebouncedFunc<(Anonymous function)> = throttle(() => this.update(this.currentProgress), 250, { leading: true, trailing: true })

Accessors

currentProgress

  • get currentProgress(): string | undefined

Methods

Protected processEvent

  • processEvent(progressId: string, event: "start" | "done", message?: undefined | string): void

reportProgress

  • reportProgress(progressId: string, update: ProgressUpdate, originalMessage: ProgressMessage, _cancellationToken: CancellationToken): Promise<void>

showProgress

  • showProgress(progressId: string, message: ProgressMessage, cancellationToken: CancellationToken): Promise<string | undefined>

Protected update

  • update(progressId: string | undefined): void