Options
All
  • Public
  • Public/Protected
  • All
Menu

Base implementation of QuickPick that uses QuickOpenExt. Missing functionality is going to be implemented in the scope of https://github.com/eclipse-theia/theia/issues/5059

Type Parameters

  • T extends theia.QuickPickItem

Hierarchy

Implements

  • QuickPick<T>

Index

Constructors

Properties

_activeItems: T[] = []
_canSelectMany: boolean = false
_handlesToItems: Map<number, T> = ...
_id: number = ...
_items: T[] = []
_itemsToHandles: Map<T, number> = ...
_keepScrollPosition: boolean = false
_matchOnDescription: boolean = true
_matchOnDetail: boolean = true
_onDidChangeActiveEmitter: Emitter<T[]> = ...
_onDidChangeSelectionEmitter: Emitter<T[]> = ...
_onDidTriggerItemButtonEmitter: Emitter<QuickPickItemButtonEvent<T>> = ...
_selectedItems: T[] = []
_sortByLabel: boolean = true
disposableCollection: DisposableCollection
expectingHide: boolean = false
onDidChangeActive: Event<T[]> = ...
onDidChangeSelection: Event<T[]> = ...
onDidTriggerItemButton: Event<QuickPickItemButtonEvent<T>> = ...
plugin: Plugin
quickOpen: QuickOpenExtImpl
quickOpenMain: QuickOpenMain
visible: boolean

Accessors

  • get activeItems(): T[]
  • set activeItems(activeItems: T[]): void
  • get busy(): boolean
  • set busy(busy: boolean): void
  • get buttons(): QuickInputButton[]
  • set buttons(buttons: QuickInputButton[]): void
  • get canSelectMany(): boolean
  • set canSelectMany(canSelectMany: boolean): void
  • get enabled(): boolean
  • set enabled(enabled: boolean): void
  • get ignoreFocusOut(): boolean
  • set ignoreFocusOut(ignoreFocusOut: boolean): void
  • get items(): T[]
  • set items(items: T[]): void
  • get keepScrollPosition(): boolean
  • set keepScrollPosition(keepScrollPosition: boolean): void
  • get matchOnDescription(): boolean
  • set matchOnDescription(matchOnDescription: boolean): void
  • get matchOnDetail(): boolean
  • set matchOnDetail(matchOnDetail: boolean): void
  • get onDidAccept(): Event<void>
  • get onDidChangeValue(): Event<string>
  • get onDidHide(): Event<void>
  • get onDidTriggerButton(): Event<QuickInputButton>
  • get placeholder(): undefined | string
  • set placeholder(placeholder: undefined | string): void
  • get selectedItems(): T[]
  • set selectedItems(selectedItems: T[]): void
  • get sortByLabel(): boolean
  • set sortByLabel(sortByLabel: boolean): void
  • get step(): undefined | number
  • set step(step: undefined | number): void
  • get title(): undefined | string
  • set title(title: undefined | string): void
  • get totalSteps(): undefined | number
  • set totalSteps(totalSteps: undefined | number): void
  • get value(): string
  • set value(value: string): void

Methods

  • _fireAccept(): void
  • _fireButtonTrigger(btn: QuickInputButton): void
  • _fireChangedValue(changedValue: string): void
  • _fireDidChangeActive(handles: number[]): void
  • _fireDidChangeSelection(handles: number[]): void
  • _fireDidTriggerItemButton(itemHandle: number, buttonHandle: number): void
  • _fireHide(): void
  • convertURL(iconPath: URI | { dark: string | URI; light: string | URI } | ThemeIcon): URI | ThemeIcon | { dark: string | URI; light: string | URI }
  • dispose(): void
  • hide(): void
  • show(): void
  • update(properties: Record<string, any>): void