Changes between Version 22 and Version 23 of PAGE_STRUCTURE_PALETTE_R0


Ignore:
Timestamp:
11/02/09 14:27:39 (16 years ago)
Author:
meddle
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PAGE_STRUCTURE_PALETTE_R0

    v22 v23  
    6060  * The ListPalette, TablePalette and the new TreePalette will extend the new CompoundPalette. The PanelPalette will not implement it (for now), because a small refactoring is needed to do that (have some hard to change extenders) and we are not sure if it needs that headers and footers, the current extenders don't use such structure at all. 
    6161  * The TreePalette will use JTree as a main component. 
     62  * The TreePalette will have items TreePaletteItems and will be generic by it's items. 
     63  * It's clear that the TreePaletteItems and the ListPaletteItems will have some common methods -> the interaction ones, so they will have a common predecessor the InteractableItem. 
     64   * The InteractableItem is abstract class with the following methods with default implementations to do nothing: 
     65    * {{{public void clicked()}}} -> Can be implemented to execute action when the item is clicked. 
     66    * {{{public void doubleClicked()}}} -> Can be implemented to execute action when the item is double clicked. 
     67    * {{{public void selected()}}} -> Can be implemented to execute action when the item is selected. 
     68    * {{{public Transferable draggedOut()}}} -> Implemented if the item can be dragged out. 
     69    * {{{public void keyPressed(KeyEvent e)}}} -> Implemented if action is executed when key is pressed and the item is selected. 
    6270 
    6371= Implementation =