project_ui.py is intended to be a View component but contains both View and Controller logic as such is tightly coupled to Lexicon (and even Word) level logic in a way that was never intended.
The ProjectUIController (static) class already exists.
For each point of coupling:
Step 1: Copy controller level logic into separate method within ProjectWindow
Step 2: Redirect original code to new method
Step 3: Remove controller level logic from original location
Step 4: Copy separated method into ProjectUIController
Step 5: Redirect method call to target ProjectUIController method
Step 6: Remove separated method
Possibly ongoing forever...
project_ui.py is intended to be a View component but contains both View and Controller logic as such is tightly coupled to Lexicon (and even Word) level logic in a way that was never intended.
The ProjectUIController (static) class already exists.
For each point of coupling: Step 1: Copy controller level logic into separate method within ProjectWindow Step 2: Redirect original code to new method Step 3: Remove controller level logic from original location Step 4: Copy separated method into ProjectUIController Step 5: Redirect method call to target ProjectUIController method Step 6: Remove separated method
Tasks:
118