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

Bug 26105

Summary: [DND] Cannot drag and drop file from packages view / navigator into editor
Product: [Eclipse Project] Platform Reporter: Unknown User <unknown>
Component: UIAssignee: Knut Radloff <knut_radloff>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3    
Version: 2.0.2   
Target Milestone: ---   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description Unknown User CLA 2002-11-13 09:51:52 EST
I have created an editor for file type X which supports drag and drop of
file type Y.  Here's my problem.

1. Create a file of type Y and open it in an editor.
2. Create a file of type X and open it in an editor.
3. Now try to drag your file of type Y into editor for X.
Result: Editor Y is activated, making it impossible to complete
the drag.

Editor linking is incompatable with drag and drop.  Given that this is
a very common operation for most things (except java development), 
please turn linking off by default in the navigator and packages view.
by default.
Comment 1 Knut Radloff CLA 2002-11-13 15:01:08 EST
The editor linking preference has been removed in M3.
However the preference controls linking from editor to Navigator. Your problem 
is caused by the Navigator/Package Explorer to editor linking which is always 
on (it was always on in Package Explorer and Navigator has been changed to 
match that behavior).
I noticed the editor is activated when the mouse is moved and not on mouse 
down. We should be able to fix this.

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