Theia API Documentation v1.77.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.

    Hierarchy (View Summary)

    Index
    selectionService: SelectionService
    toSelection: (arg: any) => FileSelection | undefined
    • Execute this handler.

      Don't call it directly, use CommandService.executeCommand instead.

      Parameters

      • ...args: any[]

      Returns Object | undefined

    • Test whether this handler is enabled (active).

      Parameters

      • ...args: any[]

      Returns boolean

    • Returns boolean

    • Test whether menu items for this handler should be visible.

      Parameters

      • ...args: any[]

      Returns boolean