Changes between Version 9 and Version 10 of PAGE_STRUCTURE_DISPLAYING_R0


Ignore:
Timestamp:
06/24/09 15:09:27 (16 years ago)
Author:
mitex
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PAGE_STRUCTURE_DISPLAYING_R0

    v9 v10  
    77 
    88== 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.  
     9The page structure palette shows a tree of all the objects on current page. 
    1010 
    1111== Task requirements == 
     12 * Create a Page Structure palette in the Page tab, which is in the left flap. 
    1213 
    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 ??? 
    1420 
    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. 
    1623 
    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. 
    1828 
    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, ... 
    2037 
    2138== Task result == 
     
    2340 
    2441== 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. 
    2645 
    2746== Related == 
    28  * [wiki:PAGE_ELEMENT_FOCUSING_R0] 
    29  * [wiki:PRO_LIB_MODEL_COMMONS_R0] 
    3047 
    3148== 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 
    3453= Design = 
    3554