[LTK Refactoring] How to control the order of Refactoring are executed [message #821168] |
Wed, 14 March 2012 22:21  |
Eclipse User |
|
|
|
Hi All,
I have implemented a refactoring by extending rename participant and it suppose to do some modifications to a file reside in a project (metadata file) upon renaming that project.
But the issue I'm facing is, by the time my factoring get executed, refactoring contributed from org.eclipse.ltk.internal.core.refactoring.resource.RenameResourceRefactoringContribution is already executed and hence the original project name is now changed to the new one. Hence my refactoring implementation throws exceptions and fails.
Therefore is there any mechanism in place to control the order of the refactoring contributions and participants are executed?
Thanks and Regards,
Harshana
[Updated on: Wed, 14 March 2012 23:07] by Moderator
|
|
|
|
Re: [LTK Refactoring] How to control the order of Refactoring are executed [message #822155 is a reply to message #821168] |
Fri, 16 March 2012 04:27  |
Eclipse User |
|
|
|
Hi Harshana,
A brilliant job you did there, congrats!
Can you please provide me the source code so that I will get good examples on JDT classes extensions, because I needed these evaluations since a long time. I will extend other parts on it and will give to someone else maybe he'd get plenty of benefits and he'd extend it also and give to someone else and so on... it will be a great contribution from you to the Major Eclipse Contributions Team.
|
|
|
Powered by
FUDForum. Page generated in 0.03388 seconds