Changes between Version 9 and Version 10 of GROUP_BASE_HALOS_AND_FRAME_POSITION_R1


Ignore:
Timestamp:
07/11/09 19:09:13 (16 years ago)
Author:
peko
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GROUP_BASE_HALOS_AND_FRAME_POSITION_R1

    v9 v10  
    1919                ///////////////////////////////////////// 
    2020                //                                     // 
    21                 //      *-upper left                   // 
     21                //      **** -top                      // 
    2222                //      +-----------+* - right         // 
    2323                //      |           |*                 // 
     
    2626                //      |           |*                 // 
    2727                //      +-----------+                  // 
    28                 //      *****        ** - bottom right // 
     28                //      *****                          // 
    2929                //         |                           // 
    3030                //      bottom                         // 
     
    3333                 
    3434         
    35 TOP, BOTTOM, LEFT, RIGHT, TOP_LEFT_CORNER, BOTTOM_LEFT_CORNER, TOP_RIGHT_CORNER, BOTTOM_RIGHT_CORNER 
     35                       TOP, BOTTOM, LEFT, RIGHT 
    3636}}} 
    37   * Having these positions menus will be positioned at the specified side or corner. What is more menus will have an orientation - vertical for left and right sides and horizontal in all other cases. Note that the latter include menus that are at the corner of the rectangle! 
     37  * Having these positions menus will be positioned at the specified side. What is more menus will have an orientation - vertical for left and right sides. If a menu is to be bound to a corner of a rectangle it will be a floating halo menu, since there is now button alignment for it. What is more, StaticHaloMenus provide buttons' margin and padding. The MENU_PADDING is the distance between the rectangle of the menu and its buttons. The BUTTON_MARGIN is the margin between buttons. 
    3838  * An implementation of the StaticHaloMenu menu will be provided that is bound to the selection rectangle in the PageWorkArea. This is usually the rectangle that menu are going to be bound to. ( see[source:branches/private/peko/sophie2-base-halos-r1/sophie2-platform/modules/org.sophie2.main.app.halos/src/main/java/org/sophie2/main/app/halos/shared/SelectionHaloMenu.java SelectionHaloMenu] for more info.) 
    39  * HaloMenus need to align their buttons. This means that buttons in a StaticHaloMenu should be able to be aligned at both ends of the side of the rectangle. That is why HaloButton should have an alignment property. This is going to be START and END of the halo menu. By default buttons will be aligned at the start of the menu. For floating halo menus buttons will always be aligned at the start. This also include halo menus that are positioned at the corners of the rectangle where the menu is a static one. 
     39 * HaloMenus need to align their buttons. This means that buttons in a StaticHaloMenu should be able to be aligned at both ends of the side of the rectangle. That is why HaloButton should have an alignment property. This is going to be START and END of the halo menu. By default buttons will be aligned at the start of the menu. For floating halo menus buttons will always be aligned at the start. No matter what an alignment of a halo button is, if it is put in a FloatingHaloMenu, its alignment is ignored!  
     40 
    4041 
    4142 * Changesets (include changes for both tasks):