wiki:UNPLANNED_MAIN_WINDOW_REFACTORING_R0

Version 1 (modified by boyan, 16 years ago) (diff)

--

Error: Macro BackLinksMenu(None) failed
compressed data is corrupt

Error: Macro TicketQuery(summary=UNPLANNED_MAIN_WINDOW_REFACTORING_R0, format=table, col=summary|owner|status|type|component|priority|effort|importance, rows=description|analysis_owners|analysis_reviewers|analysis_score|design_owners|design_reviewers|design_score|implementation_owners|implementation_reviewers|implementation_score|test_owners|test_reviewers|test_score|) failed
current transaction is aborted, commands ignored until end of transaction block

Analysis

This is a redesign/refactoring task and its analysis is deliberately not detailed. Most of the things to be done as part of this task will become clear in the design.

Overview

This task is about clearing up the design and hierarchy of the application main window. After this iteration we should have no redundancy in the AppMainWindow class and classes related to it. Logics and firing events should also be well and clearly defined (which elements fire which events, who handles them).

Task requirements

  • Clean up the hierarchy of the main window (including sub-classes, methods, etc.).
  • Clean up all events fired/handled by the main window and related classes.

Task result

Source code.

Implementation idea

  • Get rid of the DocumentsDesktop class and move the logic for the books desktop down to the layout (a desktop book should not be recognized as a different book by the main window).
  • There are some reader classes which are redundant - probably they can also be removed.

GROUP_BOOK_MODEL_REDESIGN_R0

How to demo

This is a task related to internals. It won't be demonstrated.

Design

Describe your design here.

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.