Moved functionality for selecting GridInfo from WorkbenchController to GridInfoModel.
Create new Scope with GridInfoModel and inject into TileGUI.
Deleted the creation of GridScope in TileGUI b/c it is the wrong place to create it.
Removed some unnecessary references.
Future Notes
You can still use GridScope however in this version I instantiate a Scope with a GridInfoModel in WorkbenchController and inject it into TileGUI. There does not seem to be a need to use GridScope in the app's current state.
Changes
GridInfo
fromWorkbenchController
toGridInfoModel
.Scope
withGridInfoModel
and inject intoTileGUI
.GridScope
inTileGUI
b/c it is the wrong place to create it.Future Notes
You can still use
GridScope
however in this version I instantiate aScope
with aGridInfoModel
inWorkbenchController
and inject it intoTileGUI
. There does not seem to be a need to useGridScope
in the app's current state.