JDT: How to retrieve the correct IJavaElement to a corresponding RefactoringDescriptor?
- by Chris
I implement the IRefactoringExecutionListener interface in an Eclipse plug-in to get notified when the user refactors his code, so I can update a visual editor displaying corresponding UML Boxes accordingly.
Now I have a RefactoringDescriptor and cannot manage to map it's information (project name as String, new name as String and resource path as IPath) to my model. My model is basically a Hashmap in which fully qualified names (String) of types are mapped instances of IJavaElement, or more precisely: IType.
How can I "convert" between the two representations so I can update my model?
Regards,
Chris