Skip to main content
Version: Next

CatalogWidgetStore

Index

Constructors

constructor

Properties

selectedCatalogId

selectedCatalogId: number = 1

tableSeparatorPosition

tableSeparatorPosition: string = PreferenceStore.Instance.catalogTableSeparatorPosition

Accessors

settingsTabId

Methods

applyLayoutSettings

bindPendingCatalogId

  • bindPendingCatalogId(catalogFileId: number): void
  • Bind a pending restore while carrying its widget-scoped settings section to the resolved ID.


    Parameters

    • catalogFileId: number

    Returns void

clearPendingRestore

  • clearPendingRestore(): void
  • Discard restore state that could not be matched to a catalog in the current session.


    Returns void

publicgetCatalogAssociation

publicgetPendingDisplayConfig

  • Read restored display settings without consuming them, so that they can be written back out.


    Returns WorkspaceCatalogConfig | undefined

setCatalogAssociation

publicsetPendingDisplayConfig

setSelectedCatalogId

  • setSelectedCatalogId(catalogFileId: number): void
  • Parameters

    • catalogFileId: number

    Returns void

setSettingsTabId

setTableSeparatorPosition

  • setTableSeparatorPosition(position: string): void
  • Parameters

    • position: string

    Returns void

publictakePendingDisplayConfig

  • Return restored display settings exactly once, when this widget selects a real catalog.


    Returns WorkspaceCatalogConfig | undefined

publictoLayoutSettings