Changes between Version 1 and Version 2 of BASE_DND_R1


Ignore:
Timestamp:
06/08/09 14:40:59 (16 years ago)
Author:
peko
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BASE_DND_R1

    v1 v2  
    66 
    77== Overview == 
    8  This revision of the task will introduce prototype drag and drop functionality. As well as support for more DndData that can be transferred in Sophie2.0 (see[wiki:BASE_DND_R0] for more information.)  
     8 This revision of the task will introduce prototype drag and drop functionality. As well as support for more DndData that can be transferred in Sophie2.0 (see [wiki:BASE_DND_R0] for more information.)  
    99== Task requirements == 
     10 * Supply base classes for drag and drop management. 
     11  * Create a global drag and drop manager that will handle part of the drag and drop operations. The rest should be handled in the corresponding logic. 
     12  * Create DndData implementations for resources. 
     13 * After creating the drag and drop base classes: 
     14  * provide implementation for drag and drop as well as cut/copy/paste of images using the already created ImageData. 
     15  * provide implementation for drag and drop as well as cut/copy/paste of resources. 
     16   * Create DndData implementation for resources - Frames would be enough for current revision. 
     17   * Integrate the DndData implementation with the D'n'd and Clipboard managers. 
     18 * Provide a diagram of the D'n'd manager. 
     19 * Create a wiki page named BASE_DND, to serve as a reference for all drag and drop and cut/copy/paste functionality. It should have all the design of the base library, as well as the already implemented functionality. For example explaining the use cases that are implemented. 
    1020 
    1121== Task result == 
     22 * source code. 
     23 * wiki content with diagrams. 
    1224 
    1325== Implementation idea == 
     26 * Create a DndManager class. It should be able to provide the interaction between VisualElements. 
     27 * Create a FrameData class, that should represent a DndData for Frames. It would be difficult to create the hierarchy for all resources without having a use case implemented  and the frame will be our starting point. 
     28 * Create the diagram using netbeans and put it in the newly created page. Put also the wiki content of the previous revision of this task. 
    1429 
    1530== Related == 
    1631 * [wiki:BASE_DND_R0] 
    1732== How to demo == 
     33 * Use case 1: 
     34  * Start sophie. 
     35  * Drag and drop or cut/copy and paste an image frame from sophie2 to an image redactor. (for example gimp). 
     36   * The image from the image frame should appear in the redactor. 
     37  * Drag and drop or cut/copy and paste another image from the image redactor to sophie. 
     38   * This should create a frame with an image content if dropped on the page. 
     39   * This should change the current image of the image content if dropped on an image frame. 
     40 * Use case 2: 
     41  * Start sophie. 
     42   * Create some frames. 
     43   * Drag and drop or cut/copy and paste a frame resource from the resource palette to the page work area. 
     44    * The corresponding frame should appear as a copy of the selected one. 
    1845 
    1946= Design =