Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 361233 - Allow implementations to handle AbstractBookmarkTreeField's DnD drop requests
Summary: Allow implementations to handle AbstractBookmarkTreeField's DnD drop requests
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Scout (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-18 06:25 EDT by Adrian Moser CLA
Modified: 2021-08-19 11:26 EDT (History)
2 users (show)

See Also:
zimmermann: juno+


Attachments
Proposed solution (2.62 KB, patch)
2011-10-18 06:26 EDT, Adrian Moser CLA
andi.bur: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Adrian Moser CLA 2011-10-18 06:25:48 EDT
Build Identifier: M20110210-1200

The AbstractBookmarkTreeField already handles DnD.
But if a bookmark is dragged to a location outside the field, the receiver cannot handle the data, since the objects contained in JavaTransferObject are private.

Solution: Introduce an interface (IBookmarkNode) that allows the receiver to read bookmark data.

Reproducible: Always

Steps to Reproduce:
1. Create an AbstractBookmarkTreeField implementation
2. Create a bookmark
3. DnD to a drop receiver outside the AbstractBookmarkTreeField
Comment 1 Adrian Moser CLA 2011-10-18 06:26:33 EDT
Created attachment 205409 [details]
Proposed solution

Proposed solution.

No migration for existing implementation expected.
Comment 2 Andi Bur CLA 2011-10-18 07:33:37 EDT
Comment on attachment 205409 [details]
Proposed solution

reviewed and applied patch
Comment 3 Andi Bur CLA 2011-10-18 07:39:04 EDT
Applied patch from Adrian on trunk (Eclipse 3.8.0 Juno).
Comment 4 Matthias Zimmermann CLA 2012-07-09 06:49:38 EDT
ticket closed.
deliverd as part of eclipse scout 3.8.0 (juno release train)