Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TreeSelectionServiceImpl

Hierarchy

  • TreeSelectionServiceImpl

Implements

Index

Properties

Protected Readonly onSelectionChangedEmitter

onSelectionChangedEmitter: Emitter<ReadonlyArray<{}>> = new Emitter<ReadonlyArray<Readonly<SelectableTreeNode>>>()

Protected state

Protected Readonly tree

tree: Tree

Accessors

onSelectionChanged

selectedNodes

Methods

Protected addFocus

addSelection

Protected difference

  • difference<T>(left: ReadonlyArray<T>, right: ReadonlyArray<T>): ReadonlyArray<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: ReadonlyArray<T>
    • right: ReadonlyArray<T>

    Returns ReadonlyArray<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