SettingsManager Class
Deprecated in 4.16.0. Use ($@itwin/appui-react#SettingsManager$refLinkSource=core-react/ui/core-react/src/core-react/settings/SettingsManager.tsx@119) instead.
Settings Manager class. Hold registration of settings providers and supplies events for the provided settings pages to listen.
Methods
Name | Description | |
---|---|---|
constructor(): SettingsManager | ||
activateSettingsTab(settingsTabId: string): void | Called by application when an tool, keyin, or other process want to change the active settings tab/page giving the current tab/page and opportunity | |
addSettingsProvider(settingsProvider: SettingsTabsProvider): void | ||
closeSettingsContainer(closeFunc: (args: any) => void, closeFuncArgs?: any): void | Called by application when the Settings Container is to be closed. | |
getSettingEntries(stageId: string, stageUsage: string): SettingsTabEntry[] | Get an array of SettingsTabEntry objects to populate the settings container. | |
removeSettingsProvider(providerId: string): boolean |
Properties
Name | Type | Description | |
---|---|---|---|
onProcessSettingsContainerClose Readonly | ProcessSettingsContainerCloseEvent | Event raised when the settings container will be closed. | |
onProcessSettingsTabActivation Readonly | ProcessSettingsTabActivationEvent | Event raised solely for a settings page to monitor so it can save its settings before continuing tab activation. | |
onSettingsProvidersChanged Readonly | SettingsProvidersChangedEvent | Event raised when SettingsProviders are changed. | |
providers Accessor | ReadonlyArray<SettingsTabsProvider> |
Defined in
Last Updated: 17 December, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.