Changes between Version 17 and Version 18 of APP_BASIC_MENUS_R0


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

--

Legend:

Unmodified
Added
Removed
Modified
  • APP_BASIC_MENUS_R0

    v17 v18  
    9696= Design = 
    9797 
    98 Basic Menu Items order/style will be defined by a convention (which will be put for a public discussion – wiki page): 
     98Basic 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: 
     101 
     102{{{ 
     103@SkinPartDef 
     104private static void defineSkin(ElementSkinPart part) { 
     105        part.add(TITLE_PROP_ID, "PDF"); //title property defined as "PDF" 
     106        part.add(TOOL_TIP_PROP_ID, "Exports current book to pdf file"); //Tool tip property defined 
     107        part.add(MNEMONIC_PROP_ID, KeyEvent.VK_P); //Mnemonic - i.e. when P is pressed, combined with Alt. 
     108} 
     109}}} 
     110 * Classes Affected by this change are as follow: 
     111  * NewBookItem 
     112  * OpenBookItem 
     113  * CloseBookItem 
     114 
    100115 * Extracted Menu Items into a specific module (that has same functionality as the module itself): 
     116  *  
    101117 
    102118