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

Bug 351189

Summary: [refactoring] JDTRefactoringParticipants can overlap
Product: [Modeling] TMF Reporter: Jan Koehnlein <jan>
Component: XtextAssignee: Project Inbox <tmf.xtext-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 Flags: jan: indigo+
Version: 2.0.0   
Target Milestone: SR2   
Hardware: All   
OS: All   
Whiteboard:

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