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.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    selectionService: SelectionService
    toSelection: (arg: any) => undefined | BulkEditNodeSelection

    Methods

    • Execute this handler.

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

      Parameters

      • ...args: any[]

      Returns undefined | Object

    • Test whether this handler is enabled (active).

      Parameters

      • ...args: any[]

      Returns boolean

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

      Parameters

      • ...args: any[]

      Returns boolean