Changes between Version 2 and Version 3 of PAGE_ELEMENT_ALIGNING_R0


Ignore:
Timestamp:
03/31/09 13:19:40 (16 years ago)
Author:
peko
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PAGE_ELEMENT_ALIGNING_R0

    v2 v3  
    5050= Design = 
    5151 
     52 * Create an AlignElementsHud which will be responsible for aligning page elements. 
     53  * It should have a tool-tip: "Align the selected page elements." 
     54  * the size of the hud cannot be defined since we do not know how much space will the controls take. 
     55  * The hud should be put in the [source:/trunk/sophie2-platform/modules/org.sophie2.main.view.halos/src/main/java/org/sophie2/main/view/halos/huds/ huds package]. 
     56 * Create an AlignElementsHaloButton which would show the AlignElementsHud. 
     57  * the button should be visible if and only if there are selected page elements. 
     58  * create an icon for the button. 
     59  * It will be put in the MainHaloMenu. 
     60  * Its child is the AlignElementsHud. 
     61  * Tool-tip: "Align the selected page elements." 
     62  * The icon should be named alignElements.png so that it is consistent with other icons. 
     63  * The button should be put in the [source:/trunk/sophie2-platform/modules/org.sophie2.main.view.halos/src/main/java/org/sophie2/main/view/halos/buttons/huds halo buttons that display huds package] 
     64 * The aligning of the page elements should be done by providing a List<ScenePageElement> which contains the selected page elements. 
     65  * the actual aligning would be done by the AlignElementsHud controls. These controls do not need to be bound controls. A simple group of radio buttons will be enough. 
     66  * depending on the aligning option chosen, all the elements' position will be changed. 
     67  * some helper methods might be needed to compute the position of every element. 
    5268= Implementation = 
    5369^(Implementation results should be described and linked here (from the wiki or the repository))^