Creates an instance of the factory.
The editor instance.
Registers a component factory function that will be used by the #create create method and called with the module:core/editor/editor~Editor#locale editor locale as an argument, allowing localization of the module:ui/view~View view.
Creates an instance of a component registered in the factory under a specific name.
When called, the module:core/editor/editor~Editor#locale editor locale is passed to the previously #add added factory function, allowing localization of the module:ui/view~View view.
The name of the component.
The instantiated component view.
Checks if a component of a given name is registered in the factory.
The name of the component.
Returns an iterator of registered component names. Names are returned in lower case.
A helper class implementing the UI component (module:ui/view~View view) factory.
It allows functions producing specific UI components to be registered under their unique names in the factory. A registered component can be then instantiated by providing its name. Note that the names are case insensitive.
The module:core/editor/editor~Editor#locale editor locale is passed to the factory function when module:ui/componentfactory~ComponentFactory#create is called.