Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Listening to changes in the java model - IJavaElementDelta
Listening to changes in the java model - IJavaElementDelta [message #199976] Fri, 01 April 2005 09:33 Go to next message
Eclipse UserFriend
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
Re: Listening to changes in the java model - IJavaElementDelta [message #638625 is a reply to message #199976] Thu, 11 November 2010 14:56 Go to previous message
Eclipse UserFriend
I have a similar problem. Did you figure out a solution?
Previous Topic:Classpath Build Order Changes
Next Topic:IElementListener and IJavaElementDelta
Goto Forum:
  


Current Time: Mon May 12 01:01:36 EDT 2025

Powered by FUDForum. Page generated in 0.02721 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top