Options
All
  • Public
  • Public/Protected
  • All
Menu

Class SelectionCommandHandler<S>

Type parameters

  • S

Hierarchy

Implements

Index

Type aliases

Static Options

Options<S>: SelectionOptions<false, S> | SelectionOptions<true, S[]>

Type parameters

  • S

Constructors

constructor

Properties

Protected Readonly options

options: Options<S>

Protected Readonly selectionService

selectionService: SelectionService

Protected Readonly toSelection

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

Type declaration

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

      • arg: any

      Returns S | undefined

Methods

execute

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

Protected getMultiSelection

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

Protected getSelection

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

Protected getSingleSelection

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

isEnabled

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

Protected isMulti

  • isMulti(): boolean

isVisible

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