Adapter DI (Step 0-5)
Inject external EventManager, SelectionManager, and EditorManager instances via props. Useful for sharing state between multiple grids, testing, or building custom integrations.
Grid A
Grid B (shared SelectionManager)
Injected Managers
EventManager: externalSelectionManager: externalEditorManager: externalExternal State (polled)
Selection: none
Dragging: no
Reading directly from SelectionManager instance
Use Cases
- Share managers between multiple grids
- External state inspection / debugging
- Custom manager subclasses for testing
- Programmatic selection control