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

Bug 128782

Summary: [dnd] support when moving fields or methods has problems
Product: [Eclipse Project] JDT Reporter: Dani Megert <daniel_megert>
Component: UIAssignee: JDT-UI-Inbox <jdt-ui-inbox>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: markus.kell.r, martinae
Version: 3.2   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Dani Megert CLA 2006-02-21 06:29:03 EST
3.2 M5

Have class C {
  int i1;
  int i2;
  int i3;
}

There tow problems here:
1) when moving or copying a field it should show a horizontal line to indicate
   where it will be placed and a forbidden icon when over the other field,
   similar to the feedback when dragging working sets in the Package Explorer's
   working set mode
2) in fact even with fixing 1) the user has no clue what happens when the 
   members are sorted i.e. where will it be inserted?
Comment 1 Markus Keller CLA 2006-02-21 07:02:04 EST
A long-standing defect, see bug 34071, bug 72807 and related bug 103090.

Martin, I think we should finally fix this right for 3.2, i.e.
- introduce the horizontal line as target unless the view is sorted
- remove the support for interpreting 'drop onto' as 'drop below'

Would also have to check the behavior in the Package Explorer then.
Comment 2 Benno Baumgartner CLA 2007-07-19 04:00:17 EDT

*** This bug has been marked as a duplicate of bug 45831 ***