Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface CommandHandler

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

Implemented by

Index

Properties

onDidChangeEnabled?: Event<void>

Methods

  • execute(...args: any[]): any
  • isEnabled(...args: any[]): boolean
  • isToggled(...args: any[]): boolean
  • isVisible(...args: any[]): boolean