[[BackLinksMenu]] = 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. Author page work area should allow editing the elements residing within it. In this revision we need a simple page work area with basic functionality only. == Task requirements == * Make a module for the page area. * Make the author page work area an extension. * Define an extension points for Page Scene * Make the page work area as large as the page+elements bounding rectangle + a given padding. == Task result == The result of this task should be source code. == Implementation idea == * Extend !SophieModule class * Make use of old (or even pre veda-refactor2) code for size computation. == Related == [wiki:READER_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-diagrams/PageWorkArea.png] == How to demo == * Show Author page work area. * Show that it allows editing elements. = Design = * see [wiki:PAGE_WORK_AREA_DESIGN] = 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/AuthorPageWorkArea.java@880 AuthorPageWorkArea] [[BR]] 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 Test] - '''cannot be finshed because of a problem in the !ImageUtil's icons' path. = Testing = == User documentation == [wiki:ITERATION_04/Release/UserDocumentation/02_WorkingWithSophie/07_BookWindows] [wiki:ITERATION_04/Release/UserDocumentation/04_WorkingWithFrames] == Release documentation == (the area on the page where the author can drag & manipulate frames.) == Manual tests == 520 === Main tests === [http://sophie2.org/testlink/index.php Testlink test ids:] 520 === Related tests === [http://sophie2.org/testlink/index.php Testlink test ids:] 517, reader page work area == Reported bugs == (none so far) = Comments = = Log = [[Include(wiki:AUTHOR_PAGE_WORK_AREA_R0_LOG)]]