Bug 200682 - [dnd] Cannot drag&drop *.c files from CDT Projects in project explorer to RSE
Summary: [dnd] Cannot drag&drop *.c files from CDT Projects in project explorer to RSE
Status: RESOLVED FIXED
Alias: None
Product: Target Management
Classification: Tools
Component: RSE (show other bugs)
Version: 2.0   Edit
Hardware: All All
: P1 normal (vote)
Target Milestone: 2.0.1   Edit
Assignee: Martin Oberhuber CLA
QA Contact: Martin Oberhuber CLA
URL:
Whiteboard:
Keywords:
Depends on: 192704
Blocks: 200557
  Show dependency tree
 
Reported: 2007-08-21 09:48 EDT by Martin Oberhuber CLA
Modified: 2007-08-21 09:53 EDT (History)
2 users (show)

See Also:
mober.at+eclipse: review? (dmcknigh)


Attachments
Patch to fix dnd of elements just adaptable to IResource (like CDT) (2.36 KB, patch)
2007-08-21 09:52 EDT, Martin Oberhuber CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Oberhuber CLA 2007-08-21 09:48:12 EDT
+++ This bug was initially created as a clone of Bug #192704 +++

From bug 192704 comment 13:

Drag&Drop fails for *.c / *.h files in CDT projects. In that case, the file is simply not transferred, no error message is logged. Getting this to work is very
import for our product!

To reproduce:
* Install CDT 4.0 (Help > Software Updates > Find and Install > New Features >
  Europa Discovery Site > C/C++)
* File > New > C Project
* Accept the Defaults
* File > New > Source Folder, name="src"
* File > New > C File, name="foo.c"
* Drag & Drop foo.c from project explorer into RSE System View, 
  Local Files/My Home/aatmp

The file is not transferred.
Comment 1 Martin Oberhuber CLA 2007-08-21 09:52:15 EDT
Created attachment 76530 [details]
Patch to fix dnd of elements just adaptable to IResource (like CDT)
Comment 2 Martin Oberhuber CLA 2007-08-21 09:53:58 EDT
Fix committed:

[200682] Fix drag&drop for elements just adaptable to IResource, like CDT elements
   SystemDNDTransferRunnable.java  1.12

Please review.