Optionalconfig: SettingsConfig<OpenDataPluginSettings>ReadonlynameDisplay name of the plugin
ReadonlysettingsIts settings: those saved in the local storage set, then config.
ReadonlyviewerStatic ReadonlyToolbarToolbar items provided by the plugin
Toolbar item opening the TeiaOpenDataWidget on the current selection. Disabled when the loaded source is not a Twin or when nothing is selected.
List of plugins this plugin depends on
Whether the plugin has at least one setting an interface shows (not hidden).
Called when the plugin is registered in the viewer.
Called when the plugin is unregistred from the viewer.
StaticCreate
Plugin registering the
TeiaOpenDatawidget, used to create an Open Data (key/value properties) on the selected objects of a Twin. Open it with the ShowTeiaOpenDataWidgetToolbarItem or anOpenWidgetCommand.Requires the
TeiaandViewportplugins to be registered. Call setupLegacyPluginsTranslation once i18next is initialized to load its translations.