wiki:PAGE_SELECTOR_R0
Last modified 16 years ago Last modified on 01/27/09 15:44:24

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

Error: Macro TicketQuery(summary=PAGE_SELECTOR_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

Overview

The Page selector is used to select the current page of the book displayed in the associated book window. It also adds new pages at the end of the book.
In this revision:
Revise, modularize accordingly. Try to make it better.

Task requirements

  • Make a SophieModule that will contain the page selector
  • Make the page selector an extension to the corresponding extension point of the book window.
  • Add some label that makes the user understand that it is used for page navigation.

Task result

The result of this task is source code.

Implementation idea

(It is advisable to include some rough implementations ideas.)

UNPLANNED_BOOK_WINDOW_R0
BOOK_BOTTOM_PANEL_R0

How to demo

  • Open Sophie and create a book.
  • Add a new page with the page selector.
  • Navigate between pages.

Design

  • The SophieModule containing the page selector is the same as before. Things must be re-factored a lot prior to extracting it in a different module since there are a lot or dependencies.
  • The NavigaionPanel should be created by the NavigationProvider which in turn should be defined as an extension of the BookPanel. The NavigationProvider should give every book panel it navigation.
  • NavigationPanel:
    • for every button => res.setMargin(new Insets(0, 0, 0, 0)); This way buttons would wrap around their set text without space between text and the margin of the button itself.
    • set tool-tip text for the page number field. This way the user would understand what this field is about. Adding a label to the navigation panel is in contradiction with the stereotype in Sophie1.0 as well as with the specification diagrams of Sophie2.0. In addition to this, the label would make the bottom book panel clumsy. That is way a tool-tip seams fair enough.

Implementation

Testing

User documentation

ITERATION_04/Release/UserDocumentation/08_WorkingWithPages

Release documentation

(This moves through pages & also currently adds new pages when you hit the right button.)

Manual tests

Testlink test ids: 56

Main tests

Testlink test ids: 56

Related tests

(none so far)

Reported bugs

(none so far)

Comments

Log

Analysis: Pap - done(20m)
Review: 3 by todor. Fair enough.
Design: Peko - done - 30m
Review: 3 by Pap. It's not mentioned how will the page selector perform navigation.
Implementation: Peko - done - 30m
Testing: