Changes between Version 32 and Version 33 of BASE_DND_R0


Ignore:
Timestamp:
06/01/09 18:55:56 (16 years ago)
Author:
peko
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BASE_DND_R0

    v32 v33  
    107107   * The SophieTransferable delegates to a awt Trasnferable and awt as a whole. 
    108108  * DndData: 
    109    * The DndData implementations should differ in the way they are used. If a DndData is created inside Sophie2.0 in a SophieTransferable, it should override the exportToAwt method in order to provide the data needed for an AWT Transferable. If it is used inside Sophie2.0 and comes from awt one is not supposed to use this method and not implement it at all. Instead they will obtain data through a corresponding method typical for every DndData instance (for StringDndData it is the getContents method). This make the DndData class slightly dual, but will make easier implementing new transfers of data. 
     109   * The DndData implementations should differ in the way they are used. If a DndData is created inside Sophie2.0 in a SophieTransferable, it should override the exportToAwt method in order to provide the data needed for an AWT Transferable. If it is used inside Sophie2.0 and comes from awt one is not supposed to use this method and not implement it at all. Instead they will obtain data through a corresponding method typical for every DndData instance (for StringData it is the getContents method). This make the DndData class slightly dual, but will make easier implementing new transfers of data. 
    110110[[Image(source:/trunk/sophie2-platform/doc/uml-design-diagrams/base-dnd-uml.png)]] 
    111111 * Available transfers: http://spreadsheets.google.com/ccc?key=r4yyW_VIrTvloMDKwpfWtag