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

Bug 325547

Summary: Provide Multi-select smart copy
Product: [Technology] Tigerstripe Reporter: Chris Hartley <chrhartl>
Component: CoreAssignee: Daniel Johnson <danijoh2>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: P3 CC: nmehrega
Version: 0.5M1   
Target Milestone: 0.5M0   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
Refactor dialog
none
requirements none

Description Chris Hartley CLA 2010-09-17 03:10:15 EDT
This is basically just a placeholder entry at this stage and may need a short paper written up to describe the full behavior

So the issue is that if I copy a group of artifacts, then any references to other artifacts in the selected group aren't updated to reference the new copies.
Note that this could also be extended to diagrams in the future.

A particular example.
I have class A with a subclass B and an association ALikesB between A and B.

They all reside in oldFolder.
I select all 3 and copy them to newFolder.

I find:
* newFolder.B extends oldFolder.A
* newFolder.ALikesB is between oldFolder.A and oldFolder.B

What I would like instead is:
* newFolder.B extends newFolder.A
* newFolder.ALikesB is between newFolder.A and newFolder.B
Comment 1 Navid Mehregani CLA 2010-09-28 08:58:21 EDT
Created attachment 179736 [details]
Refactor dialog

Java refactoring mechanism, pops up the attached dialog, giving users the option of updating references for a move operation.  Perhaps we should do the same for a copy/paste and move operation.
Comment 2 Chris Hartley CLA 2010-09-30 01:01:25 EDT
Created attachment 179919 [details]
requirements