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:


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,

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: Mon Jun 25 11:51:05 GMT 2018

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

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

Back to the top