Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

constructor

Properties

activeTransient

activeTransient: Observable<boolean>

True if the item has an associated transient that is currently visible.

app

The {@link geocortex.essentialsHtmlViewer.ViewerApplication} that this menu instance belongs to.

command

Associated command to execute.

cssClass

cssClass: Observable<string>

Associated css class.

disabled

disabled: Observable<boolean>

True if disabled

hasSmallLayout

hasSmallLayout: Observable<boolean>

Whether the tool has the ability to be displayed as small..

hidden

hidden: Observable<boolean>

True if disabled and hideOnDisable = true

hideOnDisable

hideOnDisable: Observable<boolean>

Hide this item entirely if disabled.

iconUri

iconUri: Observable<string>

Icon for display in toolbar.

id

id: string

isActive

isActive: Observable<boolean>

True if the item is active

isToggledOn

isToggledOn: Observable<boolean>

items

Collection of items for the Toolbar.

libraryId

libraryId: string

The library used for resource obtaining.

name

name: Observable<string>

regionName

regionName: string

Name of the ToolbarRegion Region.

selectedTool

Currently selected tool. (Flyout specific)

state

subscriptionToken

subscriptionToken: string

toggleButtonEntry

toggleButtonEntry: ToolbarToggleButtonEntry

toggleOffCommand

toggleOffCommand: CommandViewModel

toggleOnCommand

toggleOnCommand: CommandViewModel

tool

tool: ToolBase

The actual tool stored.

toolChangeActive

toolChangeActive: Observable<boolean>

Whether the multitool flyout is open. (Flyout specific)

tooltip

tooltip: Observable<string>

Tooltip for mouseover.

type

type: string

Methods

Protected _disconnectBindings

  • _disconnectBindings(): void
  • Returns void

Protected _handleCommandCanExecuteChanged

  • _handleCommandCanExecuteChanged(source: CommandViewModel, state: boolean): void
  • Parameters

    Returns void

Protected _handleToggleOffCommandPostExecute

  • _handleToggleOffCommandPostExecute(commandParameter: string): void
  • Parameters

    • commandParameter: string

    Returns void

Protected _handleToggleOnCommandPostExecute

  • _handleToggleOnCommandPostExecute(commandParameter: string): void
  • Parameters

    • commandParameter: string

    Returns void

Protected _setUpBindings

  • _setUpBindings(): void
  • No state associated, use canExecutes of commands to determine state.

    Returns void

Protected _subscribeHandlers

  • _subscribeHandlers(): void
  • Set up the events that will manage the state according to the state manager.

    Returns void

Protected _unsubscribeHandlers

  • _unsubscribeHandlers(): void
  • Returns void

activate

  • activate(): void

areAllHidden

deactivate

  • deactivate(): void

execute

  • execute(): void

onDestroy

  • onDestroy(): void

setHidden

  • setHidden(): void

setState

  • Parameters

    Returns void