[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.tools.jdt] Re: Refactoring Participant needs access to changes from the original refactoring

See org.eclipse.ltk.core.refactoring.participants.RefactoringParticipant.getTextChange(Object).

For Java refactorings, the element can be an IFile or an ICompilationUnit.

HTH,
Markus


On 2009-09-17 09:47, Michael Klenk wrote:
Hi all

I'm working on a project to enable cross language refactoring between Java and Groovy. We uses the org.eclipse.ltk.core.refactoring.participants to get informed about a refactoring in Java. This works as expected. But we run into some problems.

We should have access to the changes generated in the original Java refactoring in our refactoring participant to avoid conflicts and overlapping edits. This occurs because we also creating changes for the java file which are sometimes not covered by the java refactoring.

Is there a way to get access to this changes?

Thanks for any suggestions,

cheers Mike.