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

Bug 520744

Summary: Drag and drop: no visual distinction in tree between different feedback types FEEDBACK_INSERT_BEFORE and FEEDBACK_INSERT_AFTER
Product: [RT] RAP Reporter: Tillmann Seidel <tseidel>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P2 CC: ivan
Version: 2.3   
Target Milestone: 3.3 M1   
Hardware: PC   
OS: Windows 7   
See Also: https://git.eclipse.org/r/#/c/103038/
Whiteboard:
Attachments:
Description Flags
Feedback with type FEEDBACK_INSERT_BEFORE
none
Feedback with type FEEDBACK_INSERT_AFTER
none
Feedback in RWT none

Description Tillmann Seidel CLA 2017-08-09 07:57:30 EDT
Created attachment 269757 [details]
Feedback with type FEEDBACK_INSERT_BEFORE

If you use a tree as DnD drop target in SWT, there is a different visual feedback depending on the feedback type of the DropTargetEvent.

DND.FEEDBACK_INSERT_BEFORE:


DND.FEEDBACK_INSERT_AFTER:


The start of the horizontal line is determined by the level in the tree where the item would be inserted.

In RWT, the visual feedback is the same for both feedback types:
Comment 1 Tillmann Seidel CLA 2017-08-09 07:58:39 EDT
Created attachment 269758 [details]
Feedback with type FEEDBACK_INSERT_AFTER
Comment 2 Tillmann Seidel CLA 2017-08-09 07:58:59 EDT
Created attachment 269759 [details]
Feedback in RWT
Comment 3 Tillmann Seidel CLA 2017-08-09 08:01:01 EDT
Now with links:

DND.FEEDBACK_INSERT_BEFORE:
attachment 269757 [details]

DND.FEEDBACK_INSERT_AFTER:
attachment 269758 [details]

Feedback in RWT:
attachment 269759 [details]