Theia API Documentation v1.73.0
    Preparing search index...

    Representation of a tabbar toolbar contribution.

    Hierarchy (View Summary)

    Implements

    Index

    Constructors

    Properties

    activationService: AIActivationService
    activeSessionEmpty: boolean = true

    Tracks whether the currently active session is empty (= the home / overview is shown). Used to hide toolbar items that only make sense within an open chat (Home, lock/unlock auto-scroll, Summarize Current Session, ...).

    activeSessionModelListener: undefined | Disposable

    Model listener for the active session; disposed and re-bound on active-session changes.

    chatAgentService: ChatAgentService
    chatService: ChatService
    chatViewActiveKey: ContextKey<boolean>

    Context key set to true while the chat view widget is the active widget in the shell. Broader than chatInputFocus/chatResponseFocus (which require DOM focus on a specific sub-widget): clicks on non-focusable parts of the chat view still flip this key, so chat view keybindings remain available.

    contextKeyService: ContextKeyService
    editorManager: EditorManager
    hasPersistedSessions: boolean = false

    Store whether there are persisted sessions to make this information available in command enablement checks which are synchronous.

    logger: ILogger
    messageService: MessageService
    onActiveSessionEmptyChanged: Event<void> = ...

    Fires when isActiveSessionEmpty flips. Consumed by toolbar items that hide on the overview.

    onActiveSessionEmptyChangedEmitter: Emitter<void> = ...
    preferenceService: PreferenceService
    quickInputService: QuickInputService
    quickView: QuickViewService
    secondaryWindowHandler: SecondaryWindowHandler
    taskContextService: TaskContextService
    toggleCommand?: Command
    widgetManager: WidgetManager
    REMOVE_CHAT_BUTTON: QuickInputButton = ...
    RENAME_CHAT_BUTTON: QuickInputButton = ...

    Accessors

    • get viewId(): string

      Returns string

    • get viewLabel(): string

      Returns string

    • get widget(): Promise<T>

      Returns Promise<T>

    Methods

    • Returns information about task context files that are currently opened

      Returns { activeId?: string; openedIds: string[] }

      Object with arrays of opened context IDs and the active context ID

    • Prompts the user to select a task context with special marking for currently opened files

      Returns Promise<undefined | string>

      The selected task context ID or undefined if cancelled