wiki:UNPLANNED_BOOK_WINDOW_R0

Version 5 (modified by peko, 16 years ago) (diff)

--

Analysis

Overview

Book windows are responsible for displaying books, and book controls. They reside into the main application window. Each book window has it's own tab in the Opened Books Tabbar.

Task requirements

  • Book window behavior.
    • Each BookWindow is responsible for displaying a single book.
    • At the time of creation of a window it is bound to a book.
    • It is then responsible for displaying the current page of the book.
    • This is done through the extension connected to the PageArea extension point (if such is present).
  • Define extension points for:
    • BookBottomPanelElement - an element controlling single aspect of the view
    • PageArea - displays a single page of a book
  • Create an OpenOffice diagram to show the base view of book window

Task result

The result of this task should be source code and an OpenOffice diagram.

Implementation idea

  • Revise the exiting BookView code
  • Extend SophieExtensionPoint class for the extension points

BOOK_WINDOW_R0
BOOK_BOTTOM_PANEL_R0
PAGE_SELECTOR_R0

How to demo

  • Run Sophie2 and show the window.

Design

This is the implemented wiki page: BOOK_WINDOW

The BookView contains a BookPanel. Every element of the BookPanel should be defined as an extension of the panel. These include:

  • NavigationPanel - contains the previous button, next button and the page number area.
  • QuickSearchPanel - contains the search text field, next and previous buttons for next and previous search-matches.
  • CheckBoxesPanel - contains the 'reader mode checkbox' and the 'show frame borders checkbox'.

Implementation

Testing

Log

Analyzing: Pap - done(20m)
Reivew: Peko - 3.5 - 15mins not sure whether the BookWindow should provide an extension itself, so that it is connected to the BooksDesktop
Design: Peko - done 1h
Reivew: 3 by Pap. I think taht the BOOK_WINDOW page is not correct (the UML diagram - nothing is mentioned about the bottom panel).
Implementation: Peko - done 5h
Testing:
Comments: