Options
All
  • Public
  • Public/Protected
  • All
Menu

Class SelectionCommandHandler<S>

Type parameters

  • S

Hierarchy

  • SelectionCommandHandler

Implements

Index

Constructors

constructor

Properties

Protected Readonly options

options: Options<S>

Protected Readonly selectionService

selectionService: SelectionService

Protected Readonly toSelection

toSelection: (arg: any) => undefined | S

Type declaration

    • (arg: any): undefined | S
    • Parameters

      • arg: any

      Returns undefined | S

Methods

execute

  • execute(...args: any[]): undefined | Object

Protected getMultiSelection

  • getMultiSelection(arg: undefined | Object): undefined | S[]

Protected getSelection

  • getSelection(...args: any[]): undefined | S | S[]

Protected getSingleSelection

  • getSingleSelection(arg: undefined | Object): undefined | S

isEnabled

  • isEnabled(...args: any[]): boolean

Protected isMulti

  • isMulti(): boolean

isVisible

  • isVisible(...args: any[]): boolean