Changes between Version 12 and Version 13 of APP_DND_INTERACTION_R0


Ignore:
Timestamp:
11/02/09 19:40:45 (15 years ago)
Author:
tanya
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • APP_DND_INTERACTION_R0

    v12 v13  
    7676 
    7777= Design = 
    78 ^(Describe your design here.)^ 
     78 * Create constant ON_DROP_RESOURCE in ResourceImportLogic. It will handle events with ID SophieDragDropHandler.TransferEventIds.DND_IMPORT and will fire new event with ID SophieDragDropHandler.TransferEventIds.DND_IMPORT. ON_DROP_RESOURCE the import role of the resource will be defined depending on the resource kind of the resource transferred. 
     79 * ResourceRefData is used when we want to link a resource. When we want to copy the resource in another book and create a frame with it, ResourceRevisionData should be used. 
     80 * Create class MediaResourceDataProvider with ResourceRefData, ResourceRevisionData. 
     81 * In HotTextDataProvider, PdfResourceDataProvider, ImageResourceDataProvider add another DndData - ResourceRevisionData. 
     82 * Override exportToBinData method from ResourceRevisionData - use the MasterPersister to persist ResourceRevision to OutputStream. Schema used - OutputStreamPackagePersister.OUTPUT_STREAM_PERSISTER_SCHEMA. 
     83 * In createDndData in ResourceRevisionDndProvider override getResourceRevision using the MasterPersister with OutputStreamPackagePersister.OUTPUT_STREAM_PERSISTER_SCHEMA. 
    7984 
    8085= Implementation =