Options
All
  • Public
  • Public/Protected
  • All
Menu

Class LegacyElvisContextWrapper

deprecated

Do not use this class for new plugins!

description

This wrapper can be used to imitate the old elvisContext object and is intended to ease the transition to the new plugin context object.

Hierarchy

  • LegacyElvisContextWrapper

Index

Constructors

constructor

Properties

activeTab

activeTab: ContextData["activeTab"]

app

app: ContextData["app"]

basketSelection

basketSelection: ContextData["basketSelection"]

close

close: any = this.pluginContext.close.bind(this.pluginContext)

hasFilteredSelection

hasFilteredSelection: any = this.pluginContext.hasFilteredSelection.bind(this.pluginContext)

hasSelection

hasSelection: any = this.pluginContext.hasSelection.bind(this.pluginContext)

isSingleItem

isSingleItem: any = this.pluginContext.isSingleItem.bind(this.pluginContext)

loginCompleteCallback

loginCompleteCallback: () => void

Type declaration

    • (): void
    • Returns void

openBrowse

openBrowse: any = this.pluginContext.openBrowse.bind(this.pluginContext)

openSearch

openSearch: any = this.pluginContext.openSearch.bind(this.pluginContext)

plugin

plugin: ContextData["plugin"]

updateCallback

updateCallback: (context: ContextData) => void

Type declaration

Methods

activateContainers

  • activateContainers(containerIds: string): void
  • Parameters

    • containerIds: string

    Returns void

cancelCheckout

  • cancelCheckout(assetIds: string): void
  • Parameters

    • assetIds: string

    Returns void

checkin

  • checkin(assetIds: string): void
  • Parameters

    • assetIds: string

    Returns void

checkout

  • checkout(assetIds: string): void
  • Parameters

    • assetIds: string

    Returns void

login

  • login(): void
  • Returns void

openAssets

  • openAssets(assetIds: string): void
  • Parameters

    • assetIds: string

    Returns void

openContainers

  • openContainers(containerIds: string): void
  • Parameters

    • containerIds: string

    Returns void