Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 361233

Summary: Allow implementations to handle AbstractBookmarkTreeField's DnD drop requests
Product: z_Archived Reporter: Adrian Moser <trekking09>
Component: ScoutAssignee: Project Inbox <scout.core-inbox>
Status: CLOSED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: andi.bur, zimmermann
Version: unspecifiedFlags: zimmermann: juno+
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
Proposed solution andi.bur: iplog+

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)