Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » How can I get notified when java build path is changed
How can I get notified when java build path is changed [message #257385] Fri, 14 November 2008 11:09 Go to next message
Eclipse UserFriend
I post this thread on the platform forum but was suggested to post it
here.

Hey,

My plug-in wants to be notified when the java build path of a project is
changed. How can it get notified? is there any property change listener I
can implement? To be more specific, if the java build path of a project is
changed, I want to know what the change is (e.g. what jar/project/folder
is added/removed to/from the class path). I am using a resource change
listener but I can only know the project is changed but I have no idea
what the change is.

Thanks.
Re: How can I get notified when java build path is changed [message #257439 is a reply to message #257385] Tue, 18 November 2008 15:38 Go to previous messageGo to next message
Eclipse UserFriend
Can anyone help! Thanks.
Re: How can I get notified when java build path is changed [message #257455 is a reply to message #257385] Wed, 19 November 2008 05:33 Go to previous messageGo to next message
Eclipse UserFriend
Raymond wrote:
> I post this thread on the platform forum but was suggested to post it
> here.
> Hey,
>
> My plug-in wants to be notified when the java build path of a project
> is changed. How can it get notified? is there any property change
> listener I can implement? To be more specific, if the java build path
> of a project is changed, I want to know what the change is (e.g. what
> jar/project/folder is added/removed to/from the class path). I am
> using a resource change listener but I can only know the project is
> changed but I have no idea what the change is.
See:
-
org.eclipse.jdt.core.JavaCore.addElementChangedListener(IEle mentChangedListener,
int)
- org.eclipse.jdt.core.IJavaElementDelta.F_CLASSPATH_CHANGED

Dani
>
> Thanks.
>
>
>
Re: How can I get notified when java build path is changed [message #257484 is a reply to message #257455] Wed, 19 November 2008 14:33 Go to previous message
Eclipse UserFriend
Thanks Daniel. I will take a look at those APIs.
Previous Topic:cannot set breakpoint in the source jar file when debugging another jar file
Next Topic:Breakpoint: show me where you are right now
Goto Forum:
  


Current Time: Wed Apr 23 01:25:22 EDT 2025

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

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

Back to the top