Changes between Version 9 and Version 10 of PAGE_STRUCTURE_DISPLAYING_R0
- Timestamp:
- 06/24/09 15:09:27 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
PAGE_STRUCTURE_DISPLAYING_R0
v9 v10 7 7 8 8 == Overview == 9 Pages structure is displayed in the page structure palette, which is part of the page tab in the left flap of the book window. 9 The page structure palette shows a tree of all the objects on current page. 10 10 11 11 == Task requirements == 12 * Create a Page Structure palette in the Page tab, which is in the left flap. 12 13 13 * The page structure palette should display all templates in use on this particular page. Frames that are part of the page template are listed under the page template. 14 * The root node of the displayed tree should be the current page. 15 * Children nodes: 16 * Non grouped frames (display the name, for example "Frame A") 17 * Top-level groups 18 * Groups are represented as a tree of frames and subgroups. 19 * Children are arranged by their Z-order, starting from lowest/highest ??? 14 20 15 * The page structure palette should display all objects on the current page – frames, ordered by their Z order, and their resources. 21 * When the user selects something on the page it is selected in that tree and vice versa. 22 * When the user switches to another page/book, the palette is automatically updated. 16 23 17 * The palette also displays frame's resources – images, documents, media along with parts of their meta information. 24 * Nodes should have icons 25 * Root - icon representing a page 26 * Frame - different icons for text/image/video/etc. frames 27 * Group, etc. 18 28 19 * Palette`s contents should update according to the pages structure. 29 * The tree should allow expanding/collapsing of subtrees. 30 31 * The tree should be expanded to 2nd level / to frames ??? 32 33 * TODO: things to consider ?????? 34 * templates - in Sophie 1 they are represented too 35 * chaining 36 * links, timelines, ... 20 37 21 38 == Task result == … … 23 40 24 41 == Implementation idea == 25 Add the palette to the left flap and bind the items in the palette to the current page structure via properties. 42 * Create a new {{{PanelPalette}}}. 43 44 * Use Swing's JTree control. 26 45 27 46 == Related == 28 * [wiki:PAGE_ELEMENT_FOCUSING_R0]29 * [wiki:PRO_LIB_MODEL_COMMONS_R0]30 47 31 48 == How to demo == 32 * Open the page structure palette and demonstrate how it updates according to the current page`s elements. 33 49 * Open the page structure palette. 50 * Insert a new text frame and show it in the tree. 51 * Insert a new image frame and show it in the tree. 52 34 53 = Design = 35 54