MLCoreWidgetModule
MLCoreWidgetModule
Functions
| Name | |
|---|---|
| void | registerTypes(EditorRegistry * registry, std::shared_ptr< DataManager > data_manager, GroupManager * group_manager =[nullptr]) Register the MLCoreWidget editor type with the registry. |
Functions Documentation
function registerTypes
void registerTypes(
EditorRegistry * registry,
std::shared_ptr< DataManager > data_manager,
GroupManager * group_manager =nullptr
)Register the MLCoreWidget editor type with the registry.
Parameters:
- registry The EditorRegistry to register types with
- data_manager Shared DataManager for widget construction
- group_manager GroupManager for group color and entity tracking (nullable)
Registers the MLCoreWidget type including:
- State factory: Creates MLCoreWidgetState
- View factory: Creates MLCoreWidget (goes to Zone::Right)
- No properties factory (self-contained tool widget pattern)
Uses create_editor_custom to get EditorRegistry access for SelectionContext integration.
Updated on 2026-11-13 at 20:25:41 +0000