Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Detecting changes in a Java method
Detecting changes in a Java method [message #191506] Tue, 04 January 2005 08:54 Go to next message
Eclipse UserFriend
Originally posted by: kraemer.item.ntnu.no

Hi!

Is there an easy way to listen to changes a user makes to a specific
method with JDT?

Something like registering a listener to an IMethod? :-)

A general approach would be to listen to changes in the corresponding file
when it is stored and to find the changes manually, but I wonder if JDT
offers something more "convenient".

Thanks!
Re: Detecting changes in a Java method [message #191514 is a reply to message #191506] Tue, 04 January 2005 09:13 Go to previous message
Eclipse UserFriend
Frank wrote:
> Hi!
>
> Is there an easy way to listen to changes a user makes to a specific
> method with JDT?
> Something like registering a listener to an IMethod? :-)
>
> A general approach would be to listen to changes in the corresponding
> file when it is stored and to find the changes manually, but I wonder if
> JDT offers something more "convenient".
>
> Thanks!
>

JavaCore.addElementChangedListener(..)

Happy listening,
Markus
Previous Topic:How do I open a source folder dialog?
Next Topic:3.1 M4 and Java SSL
Goto Forum:
  


Current Time: Tue May 06 20:48:50 EDT 2025

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

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

Back to the top