80 | | ^(Describe your design here.)^ |
| 80 | * Create classes ResourceRefData and ResourceRevisionData - implementations of DndDatas for ResourcesR4. |
| 81 | * ResourceRefData will be used when resource dragged from AllResourcesPalette is dropped in the same book. |
| 82 | * ResourceRevisionData will be used when resource dragged from AllResourcesPalette is dropped in another book or in another application. |
| 83 | * Create class FileAccessUtil that will contain helper methods for converting from ResourceRevision to BinData and from BinData to ResourceRevision. |
| 84 | * Remove class SophieTransferHandler and create class SophieDragDropHandler that implements DropTargetListener, DragSourceListener, DragGestureListener. |
| 85 | * This is done because with TransferHandler from java 1.5 is not possible to get the point of the drop, and Sophie should work with java 1.5, so listeners from java 1.2 will be used. |
| 86 | * Create classes DndAction, DndExport, DndExportDone, DndPreImport, DndImport - these classes represents transactions that are open when drag'n'drop operation is started. Different transactions are for the different states of the drag'n'drop opeartion. |