Changes between Version 18 and Version 19 of APP_BASIC_MENUS_R0


Ignore:
Timestamp:
07/29/09 11:10:17 (16 years ago)
Author:
stefan
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • APP_BASIC_MENUS_R0

    v18 v19  
    9898Basic Menu Items order/style will be defined by a convention (which will be put for a public discussion – wiki page). 
    9999         
    100  * In every class that extends AppMenuItem class will be introduced new method called defineSkin which specifies values to certain properties (like title, toolips, shortcuts, mnemonics, etc.) of the skin's element. Example: 
     100 * In every class that extends AppMenuItem class will be introduced new method called defineSkin which specifies values to certain properties (like title, tooltips, shortcuts, mnemonics, etc.) of the skin's element - the item. It will get ElementSkinPart as an argument, and will use it to define properties needed. Example for ExportToPdfItem: 
    101101 
    102102{{{ 
    103103@SkinPartDef 
    104104private static void defineSkin(ElementSkinPart part) { 
    105         part.add(TITLE_PROP_ID, "PDF"); //title property defined as "PDF" 
     105        part.add(TITLE_PROP_ID, "PDF..."); //title property defined as "PDF" 
    106106        part.add(TOOL_TIP_PROP_ID, "Exports current book to pdf file"); //Tool tip property defined 
    107107        part.add(MNEMONIC_PROP_ID, KeyEvent.VK_P); //Mnemonic - i.e. when P is pressed, combined with Alt. 
    108108} 
    109109}}} 
     110 * A refactoniring will be needed, so every Item has the definition of its properties in itself, not in its Module class. (optional)  
    110111 * Classes Affected by this change are as follow: 
    111   * NewBookItem 
    112   * OpenBookItem 
    113   * CloseBookItem 
     112  * FileMenu 
     113   * NewBookItem 
     114   * OpenBookItem 
     115   * CloseBookItem 
     116   * BookPropertiesItem 
     117   * SaveBookAsItem 
     118   * SaveBookItem 
     119   * CloseBookItem 
     120  * EditMenu 
     121   * RedoItem 
     122   * UndoItem 
     123   * SetBookTitleItem 
     124   * SetPageSizeItem 
     125   * ShowConnectionItem 
     126  *InsertMenu 
    114127 
    115128 * Extracted Menu Items into a specific module (that has same functionality as the module itself): 
     
    117130 
    118131  
    119  * Specific (logical and intuitive) order of the Menu Items will be implemented: 
    120  
    121  * File 
     132 * Specific (logical and intuitive) order of the Menus will be implemented: 
     133  * File 
    122134  * Edit 
    123135  * Insert 
     
    139151  * Ctrl+V - Paste 
    140152 
    141  * Menu's items format (underling unique letters of the Item's title): 
    142  
    143  * "..." suffix for Items that, when clicked, open a Dialog: 
     153  * "..." suffix of Items Title Property for Items that, when clicked, open a Dialog. 
    144154 
    145155