ProtectedfactoryThe factory id.
Protected ReadonlyonProtected ReadonlyonProtected ReadonlyonProtected ReadonlyonProtected ReadonlyonProtected OptionalwidgetCreates a widget using the given options.
the newly created widget or a promise of the widget
Publish the collection of outline view symbols.
OutlineViewWidget tree with symbol information.the list of outline symbol information nodes.
A WidgetFactory is used to create new widgets. Factory-specific information (options) can be passed as serializable JSON data. The common WidgetManager collects
WidgetFactorycontributions and delegates to the corresponding factory when a widget should be created or restored. To identify widgets theWidgetManageruses a description composed of the factory id and the options. TheWidgetFactorydoes support both, synchronous and asynchronous widget creation.Example usage