Listening to changes in the java model - IJavaElementDelta [message #199976] |
Fri, 01 April 2005 09:33  |
Eclipse User |
|
|
|
Originally posted by: ottohelge.hotmail.com
Hi,
I'm trying to develop some awareness features in my plug-in.
To do this I want to monitor change, removal and adding of Java elements
with different types (like IJavaProject, IType, IMethod, IField), i.e. I
want to know when the content of a class, method or a variable change - is
deleted. To accomplish this I'm trying to use the IJavaElementDeltas from
JavaCore.addElementChangedListener. My problem is that when for example
change a variable the event is fired, I recursively go down the delta tree
but only get down to ICompilationUnit and not to the specific IType,
IMethod, IField. Can someone give me some advice about what to do or were to
find references?
Thanks in advance,
Otto
|
|
|
|
Powered by
FUDForum. Page generated in 0.02721 seconds