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

Hierarchy (view full)

Implements

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[]> = ...

An event signaling when the active items have changed.

onDidChangeSelection: Event<T[]> = ...

An event signaling when the selected items have changed.

onDidTriggerItemButton: Event<QuickPickItemButtonEvent<T>> = ...

An event signaling when a button in a particular QuickPickItem was triggered. This event does not fire for buttons in the title bar.

plugin: Plugin
quickOpen: QuickOpenExtImpl
quickOpenMain: QuickOpenMain
visible: boolean

Accessors

  • get busy(): boolean
  • If the UI should show a progress indicator. Defaults to false.

    Change this to true, e.g., while loading more data or validating user input.

    Returns boolean

  • set busy(busy): void
  • If the UI should show a progress indicator. Defaults to false.

    Change this to true, e.g., while loading more data or validating user input.

    Parameters

    • busy: boolean

    Returns void

  • get enabled(): boolean
  • If the UI should allow for user input. Defaults to true.

    Change this to false, e.g., while validating user input or loading data for the next step in user input.

    Returns boolean

  • set enabled(enabled): void
  • If the UI should allow for user input. Defaults to true.

    Change this to false, e.g., while validating user input or loading data for the next step in user input.

    Parameters

    • enabled: boolean

    Returns void

Methods