Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 356014 - [RBD]Issues with copy/paste of EGL source file
Summary: [RBD]Issues with copy/paste of EGL source file
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: EDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: pf yu CLA
QA Contact:
URL:
Whiteboard: refactor
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-28 01:18 EDT by Will Smythe CLA
Modified: 2017-02-23 14:17 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Will Smythe CLA 2011-08-28 01:18:36 EDT
Steps to recreate:

1. From the Project Explorer view, select a .egl file in some package, right-click and select Copy.

2. Select the package of the file that was just copied and click Paste.

3. When prompted because of the name conflict, accept the default suggestion and click OK.

Issues:
* Unlike the Refactor > Rename function (which will rename the actual part within the file), the operation described above does not update the part name in the file. This results in a compile error. The copy/paste operation should be considered like a Rename.

* The name conflict dialog that appears says "Enter a new name for 'Test.egl'". The extension .egl should not be included in the caption (this is consistent with the Java editor). It's problematic because a user may think he/she needs to append .egl to whatever they type into the field. This will result in a file name with "egl.egl" at the end.
Comment 1 Zhi Zhu CLA 2011-10-19 23:57:42 EDT
same behavior in RBD
Comment 2 Zhi Zhu CLA 2011-10-28 04:16:24 EDT
NewNameQueries ---line 68
Comment 3 Zhi Zhu CLA 2011-10-31 04:11:43 EDT
NewNameQueries.java
EGLCopyProcessor.java