Changes between Version 11 and Version 12 of GROUP_GUI_REDESIGN_R0


Ignore:
Timestamp:
07/23/09 16:42:29 (16 years ago)
Author:
tanya
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TabularUnified GROUP_GUI_REDESIGN_R0

    v11 v12  
    8484 
    8585= Design = 
    86 * The code for every part of the UI should be reviewed.   
     86 * The code for every part of the UI should be reviewed.   
    8787   * [wiki:WORKSPACE_AREAS_REDESIGN_R0] Workspace areas (PageWorkArea, book desktop and document windows etc.) should be refactored.  
    8888    * Examine the hierarchy of classes. 
     
    9595   * Along with the Workspace and Layout consider having two separate windows for Author and Reader (one having all flaps and desktop book and one without these). 
    9696   * Halos - things there seem to be alright for the time being. A refactoring has already been made (see [wiki:GROUP_BASE_HALOS_AND_FRAME_POSITION_R1] for more details, where the menus were refactored.) 
    97    * Bound controls: 
    98     * Have bugs: 
    99      * Implementations of bound controls using JTextField have a bug connected with the listeners attached to the text field. 
    100        * Fixed a bug with zoom percentage combobox - When you enter any text (no matter digits or other symbols) and click somewhere else so the combobox loses focus a ClassCastException was thrown. The reason was that ComboInput used in ZoomPercentagePanel.validete() and ZoomPercentagePanel.submitData() should be of type ZoomLevel but in some cases it was of type String. The problem was fixed by adding a check for the type of ComboInpu.getLevel(). Another problem came up with the separator used in float numbers. In the combobox was used ',' but it was impossible enter a valid float number using ',', only '.' was aloowed. The problem was fixed by replacing all ',' in the original string with '.'. This change remains invisible for the user as the text entered i nthe combobox doesn't change visually. This change takes palce in dataInputControlMethod(), which belongs to the base class for all bound comboboxes. So in order the change to be made only in Zoom Percenatage combox (we don't want to replace ',' with '.' in all comboboxes), this method was overriden in ZoomPercentagePanel class.  
    101      * BoundCheckBox - a problem connected with Boolean.TRUE/Boolean.FALSE - does not update state properly with the pro lib. 
    102      * Fix the layout of the components in the bound control. 
    103      * Change the hierarchy so that the icon of the state can be dropped (controls should be able to chose whether with such an icon or without it). 
    104      * Create new bound controls: 
    105       * The "bound control" looking panel that most huds use for changing colors is not an actual bounds control. Create such a control: 
    106        * The listener should be attached not to the whole panel, but rather to the color rectangle which may become a "ButtonBoundControl". 
    107   
    108       * Introduce a "SliderBoundControl" that has a JSlider bound to some model. 
    109    * Dialogs - they are more or less OK. Just review and improve things (optional). 
     97   
     98 * '''Bound Controls''': 
     99  * The wiki page for this task -> [wiki:BASE_BOUND_CONTROLS_R1] 
     100  * What should be refactored: 
     101   * Fixing some bugs: 
     102    * Implementations of bound controls using JTextField have a bug connected with the listeners attached to the text field. 
     103    * Fixed a bug with zoom percentage combobox - When you enter any text (no matter digits or other symbols) and click somewhere else so the combobox loses focus a ClassCastException was thrown. The reason was that ComboInput used in ZoomPercentagePanel.validate() and ZoomPercentagePanel.submitData() should be of type ZoomLevel but in some cases it was of type String. The problem was fixed by adding a check for the type of ComboInput.getLevel(). Another problem came up with the separator used in float numbers. In the combobox was used ',' but it was impossible enter a valid float number using ',', only '.' was aloowed. The problem was fixed by replacing all ',' in the original string with '.'. This change remains invisible for the user as the text entered i nthe combobox doesn't change visually. This change takes palce in dataInputControlMethod(), which belongs to the base class for all bound comboboxes. So in order the change to be made only in Zoom Percenatage combox (we don't want to replace ',' with '.' in all comboboxes), this method was overriden in ZoomPercentagePanel class.  
     104    * BoundCheckBox - a problem connected with Boolean.TRUE/Boolean.FALSE - does not update state properly with the pro lib. 
     105  * Fix the layout of the components in the bound control.[[BR]] 
     106  * Change the hierarchy so that the icon of the state can be dropped (controls should be able to chose whether with such an icon or without it).[[BR]] 
     107  * Create new bound controls: 
     108   * The "bound control" looking panel that most huds use for changing colors is not an actual bounds control. Create such a control: 
     109    * The listener should be attached not to the whole panel, but rather to the color rectangle which may become a "ButtonBoundControl". 
     110   * Introduce a "SliderBoundControl" that has a JSlider bound to some model.[[BR]] 
     111 
     112 
     113   * '''Menus''' 
     114    * The wiki page for this task -> [wiki:BASE_MENUS_R1] 
     115    * All menus and menu items are in the same module. Every menu/menu item should be in a module that is responding to its functionality. 
     116   * '''Dialogs''' 
     117    * The wiki page for this task -> [wiki:BASE_DIALOGS_R1] 
    110118   * Color Picker - the color picker is already a bound to the model. 
    111119    * There is a bug with the gradient dialog - clicking the color button breaks Sophie2. Fix it. Consider redesigning the gradient in a similar way to the color picker. Nevertheless the gradient changing component should be bound to the model as all controls in Sophie2 are.