Changes between Version 32 and Version 33 of BASE_DND_R0
- Timestamp:
- 06/01/09 18:55:56 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
BASE_DND_R0
v32 v33 107 107 * The SophieTransferable delegates to a awt Trasnferable and awt as a whole. 108 108 * 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 StringD ndData 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. 110 110 [[Image(source:/trunk/sophie2-platform/doc/uml-design-diagrams/base-dnd-uml.png)]] 111 111 * Available transfers: http://spreadsheets.google.com/ccc?key=r4yyW_VIrTvloMDKwpfWtag