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

    A command handler is an implementation of a command.

    A command can have multiple handlers but they should be active in different contexts, otherwise first active will be executed.

    interface TabBarContextMenuCommandHandler {
        isEnabled?: CurrentWidgetCommandHandlerBooleanCheck;
        isToggled?: CurrentWidgetCommandHandlerBooleanCheck;
        isVisible?: CurrentWidgetCommandHandlerBooleanCheck;
        onDidChangeEnabled?: Event<void>;
        execute(
            title: undefined | Title<Widget>,
            tabbar: undefined | TabBar<Widget>,
            event: Event,
        ): unknown;
    }

    Hierarchy (View Summary)

    Index

    Properties

    isEnabled?: CurrentWidgetCommandHandlerBooleanCheck

    eslint-disable-next-line @typescript-eslint/no-explicit-any

    isToggled?: CurrentWidgetCommandHandlerBooleanCheck

    eslint-disable-next-line @typescript-eslint/no-explicit-any

    isVisible?: CurrentWidgetCommandHandlerBooleanCheck

    eslint-disable-next-line @typescript-eslint/no-explicit-any

    onDidChangeEnabled?: Event<void>

    Methods