Refactor Neo.manager.Window to extend Neo.manager.Base.
Current State:
- Extends
Neo.core.Base.
- Manages a
windowMap (Map) manually.
- Stores
Rectangle instances directly as values.
Goal:
- Extend
Neo.manager.Base.
- Use the inherited Collection capabilities (
items, map, get, add, remove).
- Store window objects
{id, rect, appName} instead of just Rectangle.
- Update
getWindowAt to query the collection.
Benefits:
- Consistency with other Managers (
Instance, Component).
- Built-in observability (mutate events).
- Simplified code (no manual Map management).
Refactor Neo.manager.Window to extend Neo.manager.Base.
Current State:
Neo.core.Base.windowMap(Map) manually.Rectangleinstances directly as values.Goal:
Neo.manager.Base.items,map,get,add,remove).{id, rect, appName}instead of justRectangle.getWindowAtto query the collection.Benefits:
Instance,Component).