Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TreeSelectionServiceImpl

Hierarchy

  • TreeSelectionServiceImpl

Implements

Index

Constructors

constructor

Properties

Protected Readonly onSelectionChangedEmitter

onSelectionChangedEmitter: Emitter<readonly Readonly<SelectableTreeNode>[]> = ...

Protected state

Protected Readonly tree

tree: Tree

Accessors

onSelectionChanged

selectedNodes

Methods

Protected addFocus

addSelection

Protected difference

  • difference<T>(left: readonly T[], right: readonly T[]): readonly T[]
  • Returns an array of the difference of two arrays. The returned array contains all elements that are contained by left and not contained by right. right may also contain elements not present in left: these are simply ignored.

    Type parameters

    • T

    Parameters

    • left: readonly T[]
    • right: readonly T[]

    Returns readonly T[]

dispose

  • dispose(): void

Protected fireSelectionChanged

  • fireSelectionChanged(): void

Protected init

  • init(): void

Protected removeFocus

restoreState

  • restoreState(state: State): void

Protected select

storeState

Protected transiteTo

Protected unselect

Protected validateNode