Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 14: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 19:56 Go to previous message
Raffi Khatchadourian is currently offline Raffi KhatchadourianFriend
Messages: 10
Registered: July 2009
Junior Member
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: Fri Apr 19 00:41:33 GMT 2024

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

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

Back to the top