Bug 105584

Summary: [dnd] implement undo [refactoring]
Product: [Eclipse Project] JDT Reporter: Krish <krishelakkara>
Component: UIAssignee: JDT-UI-Inbox <jdt-ui-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3 CC: dirk_baeumer
Version: 3.0.2   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard: stalebug

Description Krish CLA 2005-07-29 12:35:03 EDT
Sometimes I accidentally drag and drop a folder (package) into a new place and 
eclipse automatically refactors it updates all the references. Then it is 
quite painful to undo this because it is not obvious where it went and I might 
have local modifications. 

I wish it would prompt me whether or not I want to actually move the package. 
This just happened to me in the resources view but I am sure it happens in 
other views (I don't want to try).
Comment 1 Dirk Baeumer CLA 2005-07-30 17:36:20 EDT
Tobias, instead of showing a dialog we should make DnD of packages and source
folders undoable. Shouldn't be to complicated since most of the code is already
there. Can you please have a look.
Comment 2 Krish CLA 2005-07-31 12:36:33 EDT
It would be good to have a dialog before doing something that could 
potentially affect hundreds of files. Like eclipse does for refactoring you 
could even show the files affected.
Comment 3 Krish CLA 2005-09-15 11:41:45 EDT
(In reply to comment #2)
> It would be good to have a dialog before doing something that could 
> potentially affect hundreds of files. Like eclipse does for refactoring you 
> could even show the files affected.

I just got hit by this again. I was just navigating the folders and accidently 
dragged something. I didn't even notice that something was moved until I 
looked for it. Pleeeaase add a dialog.. this is quite painful. I had to 
completely replace my project from cvs.
Comment 4 Tobias Widmer CLA 2006-04-25 05:37:50 EDT
Not for 3.2
Comment 5 Benno Baumgartner CLA 2007-07-19 10:51:23 EDT
*** Bug 16264 has been marked as a duplicate of this bug. ***
Comment 6 Eclipse Genie CLA 2020-05-31 01:42:01 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.
Comment 7 Eclipse Genie CLA 2022-05-22 15:07:02 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.
Comment 8 Eclipse Genie CLA 2024-05-15 02:07:39 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.