wiki:READER_PAGE_WORK_AREA_R0
Last modified 16 years ago Last modified on 12/19/08 17:43:01

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

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

Should cooperate reasonably with the SCENE. Should be modularized and divided into Author and Reader.

The page work area is part of the book window. It is located between the book bottom panel, the title bar, the scroll bars and the left book window border. It contains the current page with all its elements and an area around the it, where page elements can be put during the editing process. It is also responsible for the management of page views. Reader page work area should not allow editing or placement of elements residing within it.

In this revision we need a simple page work area with basic functionality only.

Task requirements

  • Make the reader page work area an extension.
  • Make the page work area as large as the page+elements bounding rectangle + a given padding.
  • Page elements outside the page should not be visible.
  • Reader page work area should not be editable.
  • Reader page work area elements should not be editable

Task result

The result of this task should be source code.

Implementation idea

  • Make use of old (or even pre veda-refactor2) code for size computation.

AUTHOR_PAGE_WORK_AREA_R0
SCENE_COMMONS_R0
SCENE_POINT_R0
UNPLANNED_BOOK_WINDOW_R0
trunk/sophie2-platform/doc/spec-diagramsPageWorkArea.png

How to demo

  • Show Author page work area.
  • Show that it allows editing elements.

Design

see PAGE_WORK_AREA_DESIGN

Implementation

According to design:

Test - it is one that is same for both work areas since the main implementation is in the abstract class PageWorkArea => Test - cannot be finshed because of a problem in the ImageUtil's icons' path.

Testing

Comments

  • We should also make the things in sync with the PAGE SCENE things. --milo@2008-12-02

Log

Analysis: Pap - done(25m)
Review: 3.5 by todor. The analysis is good enough.
Design:
Implementation:
Testing:
Comments: