Bug 22840 - Refactor->Move doesn't update Local History
Summary: Refactor->Move doesn't update Local History
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows XP
: P3 minor (vote)
Target Milestone: 2.1 M2   Edit
Assignee: Jerome Lanneluc CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-08-26 12:13 EDT by Wolf Siberski CLA
Modified: 2002-10-17 10:33 EDT (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 Wolf Siberski CLA 2002-08-26 12:13:37 EDT
When moving a class to another directory, this class (rsp. the source file)
is not added to the Local History (as it happens when deleting the class).
Although it is still possible to restore the previous state, it can
get complicated when more than a few classes had been moved around.
Also IMHO it would be more consistent if move behaved similar to delete
regarding the Local History.
Comment 1 Adam Kiezun CLA 2002-08-26 13:12:52 EDT
refactoring calls (on ICompilationUnit) ISourceModification::move
Comment 2 Jerome Lanneluc CLA 2002-10-14 05:17:54 EDT
Fixed CopyResourceElementsOperation to keep the history in case of a move.
Comment 3 David Audel CLA 2002-10-17 10:33:20 EDT
Verified.