Bug 298652 - [common navigator] Drag & drop Java file from default package to other package in Project Explorer defaults to 'copy' instead of 'move'
Summary: [common navigator] Drag & drop Java file from default package to other packag...
Status: CLOSED DUPLICATE of bug 264279
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.6   Edit
Hardware: All All
: P3 minor (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-30 13:45 EST by Neeraj Agrawal CLA
Modified: 2010-01-08 04:49 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Neeraj Agrawal CLA 2009-12-30 13:45:21 EST
Build Identifier: 3.5

In the Project Explorer view, the drag/drop operation when moving from the default package to another package is working as a copy operation instead of a move operation. The java file remains in both the default package and the other package to where it was moved. 

If you follow the same scenario in the Package Explorer view, the file is moved to the other package and the default package disappears (since it is empty). I would expect the Project Explorer view to have the same behavior. 

(I am opening this defect against JDT UI since it contributes java functionalty to Project explorer)

Reproducible: Always
Comment 1 Dani Megert CLA 2010-01-08 04:44:27 EST
Same in I20100107-1410.

Works when DnD from non-default package to other non-default package.
Comment 2 Dani Megert CLA 2010-01-08 04:49:19 EST

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