Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 351189 - [refactoring] JDTRefactoringParticipants can overlap
Summary: [refactoring] JDTRefactoringParticipants can overlap
Status: CLOSED FIXED
Alias: None
Product: TMF
Classification: Modeling
Component: Xtext (show other bugs)
Version: 2.0.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: SR2   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-05 09:52 EDT by Jan Koehnlein CLA
Modified: 2017-09-19 17:25 EDT (History)
0 users

See Also:
jan: indigo+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Koehnlein CLA 2011-07-05 09:52:52 EDT
(copied from bug 348649)
There is a problem with the JDTRefactoringParticipants. One is registered in
Xtend2 and one in the DomainModelExample. When a Java-Class gets renamed
through refactoring each of the participants produces a changes for referencing
Xtext-Based-DSLs. The result is a currupt file.

Steps to reproduce:
1. Create a DomainModelInstance that references a Java-Class
package pack {
    entity Test {
        public op name ( pack.TestClass123 paramName1 ) : pack.TestClass123 { }
    }
}
2. Rename the Java-Class
3. See that there are two changes in the preview-dialog
Comment 1 Jan Koehnlein CLA 2011-08-31 04:52:29 EDT
Fixed with bug 354731.
Comment 2 Karsten Thoms CLA 2017-09-19 17:14:13 EDT
Closing all bugs that were set to RESOLVED before Neon.0
Comment 3 Karsten Thoms CLA 2017-09-19 17:25:54 EDT
Closing all bugs that were set to RESOLVED before Neon.0