Changes between Version 2 and Version 3 of BASE_DND_R1


Ignore:
Timestamp:
06/10/09 13:53:05 (16 years ago)
Author:
peko
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BASE_DND_R1

    v2 v3  
    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 CUT/COPY and PASTE operations for resources in Sophie2.0. It should also provide the implementation for clipboard operations with images(from, to and in Sophie2.0). If there is time left a prototype drag and drop functionality is considered to be implemented. 
    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. 
     10 * Create implementations of DndData for resources. 
     11  * Either one DndData or multiple for the different types of resources. Depends on the design. 
     12 * Create implementation of SophieTransferable for resources. 
     13  * Again may need only one transferable for resources or several. 
     14 * '''Note:''' If implementing clipboard operations for resources turns out to be a difficult thing, consider implementing only Frame clipboard operations. 
     15 * Put the ImageData into the created transferables to support transferring images if needed. 
     16 * '''Optional: (If not done, SHOULD be put for the next revision!)''' 
     17  * Supply base classes for drag and drop management. 
     18   * 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. 
     19   * Create DndData implementations for resources. 
     20   * After creating the drag and drop base classes, implement D'n'D for: 
     21    * images 
     22    * plain text 
     23    * resources. 
     24    * '''Note:''' This should be rather easy having in mind that we have already implemented the necessary DndDatas and SophieTransferables... 
     25   * Provide a diagram of the D'n'd manager. 
     26   * 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. 
    2027 
    2128== Task result == 
    2229 * source code. 
    23  * wiki content with diagrams. 
     30 * '''Optional:'''wiki content with diagrams. 
    2431 
    2532== 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. 
    29  
     33 * 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. Eventually should create a hierarchy or several more classes. 
     34 * Optional stuff: 
     35  * Create a DndManager class. It should be able to provide the interaction between VisualElements. 
     36  * 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. 
    3037== Related == 
    3138 * [wiki:BASE_DND_R0]