9 | | ^(Provide a brief overview of the whole task in its first revision. Stick to the current revision of the task, but keep an eye to the whole task progress, and stay alert for possible smells.)^ |
10 | | |
| 9 | Drag and drop aims to provide seamless and intuitive integration between Sophie2 and other applications. This way importing and exporting different files (resources) is going to be easier and more user friendly.There are three basic kinds of drag and drop behavior: |
| 10 | * In Sophie application |
| 11 | * Dragging a resource to book or book desktop should create frame with the corresponding content (e.g. dragging image resource should create an image frame to the location where the image is dropped). |
| 12 | * User should be able to embed a book by dragging book from open books palette to the current book. |
| 13 | * When not appropriate action is executed (e.g. trying to embed a book in itself) message warning for the inappropriate must be evoked. |
| 14 | * The user should be able to turn off this kind of messages (something like checkbox for "Do not show this message anymore" could be used). |
| 15 | * In case that the messages are forbidden by the user, inappropriate drag and drop must have no visible results. |
| 16 | * From Sophie to other application/desktop |
| 17 | * Drag and drop outside Sophie must be available only for the resources (drag and drop outside Sophie must be available only from the resources palette) |
| 18 | * An item dragged from Sophie resources to program that is able to open such file should result in opening this resource. (e.g. If you drag an image from Sophie resources and drop it in Gimp the result must be like dragging and dropping an image from your desktop to Gimp, namely the image is loaded in Gimp.) |
| 19 | * This behavior should be consistent and with other types of resources. (Dragging video frame from Sophie resources to vlc palyer, should result in playing the video, dragging and dropping text resource in text editor like notepad, should behave like dragging and dropping a text file from your desktop to notepad (if the editor supports formatting, it should be preserved).) |
| 20 | * However here we should consider if |
| 21 | * From other application/desktop to Sophie. |