Version 2 (modified by peko, 16 years ago) (diff) |
---|
Analysis
Overview
- This task is about the Drag'N'Drop base implementation. Sophie 2.0 should be able to provide a relatively complex DnD behavior.
Task requirements
- Think of the following scenarios of a DND functionalities:
- DnD for resources:
- media resources - audio, video, images etc. (may include things like flash in a later revision).
- text resources - txt, rtf.
- html resources.
- content - text content should be processes when dragged to a text frame for example.
- DnD into UI components:
- text frames - should be able to process text dragging and dropping.
- image frames - should be able to accept DnD of image content.
- media frames - should be able to accept DnD of media files.
- palletes:
- Resource palette -
- Should process dropping of files.
- User should be able to drag files outside Sophie 2.0.
- Same applies to Page templates palette, Plug-in palette, Books palette, Pages palette, Book templates palette etc.
- user should be able to use these to put things in them from the file system and vise versa, or just transfer things from one palette to another( from Page palette to Page templates palette should create a template for the page that is dragged and dropped in the templates palette.).
- Resource palette -
- DnD for resources:
- Unit test for the base implementation.
Task result
Implementation idea
Related
- AUTHOR_PAGE_WORK_AREA_R0 - should be responsible for processing drag and drop events.
- READER_PAGE_WORK_AREA_R0 - should be responsible for processing drag and drop events.
How to demo
Design
Implementation
(Implementation results should be described and linked here (from the wiki or the repository))
Testing
Comments
(Write comments for this or later revisions here.)