[[BackLinksMenu]] [[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|)]] = 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. == Related == [wiki:AUTHOR_PAGE_WORK_AREA_R0][[BR]] [wiki:SCENE_COMMONS_R0][[BR]] [wiki:SCENE_POINT_R0][[BR]] [wiki:UNPLANNED_BOOK_WINDOW_R0] [[BR]] [source:trunk/sophie2-platform/doc/spec-diagramsPageWorkArea.png] == How to demo == * Show Author page work area. * Show that it allows editing elements. = Design = see [wiki:PAGE_WORK_AREA_R0] = Implementation = According to design: * [source:trunk/sophie2-platform/modules/org.sophie2.main.view/src/main/java/org/sophie2/main/view/page/areas@836 areas package] * [source:trunk/sophie2-platform/modules/org.sophie2.main.view/src/main/java/org/sophie2/main/view/page/areas/ReaderPageWorkArea.java@880 ReaderPageWorkArea] [[BR]] Unit Test - it is one that is same for both work areas since the main implementation is in the abstract class !PageWorkArea => [source:trunk/sophie2-platform/modules/org.sophie2.main.view/src/test/java/org/sophie2/main/view/page/areas/PageWorkAreaTest.java Unit Test] = Testing = = Comments = * We should also make the things in sync with the PAGE SCENE things. --milo@2008-12-02 = Log = [[Include(wiki:READER_PAGE_WORK_AREA_R0_LOG)]]