Last modified 16 years ago
Last modified on 07/22/09 21:20:08
Analysis
Overview
Workspace areas (PageWorkArea, book desktop and document windows etc.) should be refactored.
Task requirements
- Examine the hierarchy of classes.
- Make it consistent with the "View" concept and the "BaseVisual" concept. Things there as slightly messed up and the desktop book is currently of no use.
- Current things should be entirely in the Workspace (if there is something left in the model - remove it).
- Remove old things that are no longer needed.
- App, AppView for example.
- All interaction should go through the LogicR3 using EventR3. (This is refactoring of the old Logics).
- When refactoring the code, have in mind that we need to have a single-document-interface for the workarea (preview mode, presentation mode etc.). So when redesigning we should implement such functionality.
Task result
- The result of this task should be source code.
Implementation idea
- Simplify the BookView/BookWindow hierarchy.
Related
How to demo
- Show the new hierarchy and other changes that has been made.
Design
- Replacing Logic with LogicR3 and EventR3
- BookLogic
- Remove userChangePageSize() method from BookLogic class and create class SetPageSizeLogic (in the same module with SetPageSizeItem) which to be responsible for the setting page size.
- Remove setTitle() method - not used.
- Remove save(), saveAs(), userSaveAs(), saveAsTemplate(), saveBook(), userSaveBook(), userSaveBookAs(), userSaveBookAsTemplate() methods from BookLogic class and create Saveloic class
- Remove userSave() method - not used.
- BookLogic
Implementation
(Describe and link the implementation results here (from the wiki or the repository).)
Testing
(Place the testing results here.)
Comments
(Write comments for this or later revisions here.)