Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Refactoring Listener?
Refactoring Listener? [message #224299] Thu, 16 February 2006 16:32 Go to next message
Eclipse UserFriend
Is is possible to listen to refactoring changes in the Java model? I know I
can listen to resource changes, but those IResourceDeltas don't contain any
Java-specific information. I need to know if someone renamed an IField or an
inner class represented as an IType, and I don't see how this would be
available from an IResourceDelta.
Re: Refactoring Listener? [message #224307 is a reply to message #224299] Thu, 16 February 2006 17:21 Go to previous messageGo to next message
Eclipse UserFriend
Never mind, I found the refactoring extension points.

"Felix L J Mayer" <felix.mayer@objectaid.com> wrote in message
news:dt2r28$t4b$1@utils.eclipse.org...
> Is is possible to listen to refactoring changes in the Java model? I know
> I can listen to resource changes, but those IResourceDeltas don't contain
> any Java-specific information. I need to know if someone renamed an IField
> or an inner class represented as an IType, and I don't see how this would
> be available from an IResourceDelta.
>
Re: Refactoring Listener? [message #224323 is a reply to message #224299] Fri, 17 February 2006 03:20 Go to previous messageGo to next message
Eclipse UserFriend
Felix L J Mayer wrote:
> Is is possible to listen to refactoring changes in the Java model? I know I
> can listen to resource changes, but those IResourceDeltas don't contain any
> Java-specific information. I need to know if someone renamed an IField or an
> inner class represented as an IType, and I don't see how this would be
> available from an IResourceDelta.
>
>

There has been introduce new API to listen to refactoring changes. Have
a look at the interface IRefactoringHistoryService.

Cheers

Toby
Re: Refactoring Listener? [message #224367 is a reply to message #224323] Fri, 17 February 2006 11:47 Go to previous messageGo to next message
Eclipse UserFriend
Sounds interesting, but in which Eclipse version is that? I can't find it in
3.1.1.

"Tobias Widmer" <tobias_widmer@ch.ibm.com> wrote in message
news:dt40vl$43c$1@utils.eclipse.org...
> Felix L J Mayer wrote:
>> Is is possible to listen to refactoring changes in the Java model? I know
>> I can listen to resource changes, but those IResourceDeltas don't contain
>> any Java-specific information. I need to know if someone renamed an
>> IField or an inner class represented as an IType, and I don't see how
>> this would be available from an IResourceDelta.
>
> There has been introduce new API to listen to refactoring changes. Have a
> look at the interface IRefactoringHistoryService.
>
> Cheers
>
> Toby
Re: Refactoring Listener? [message #224413 is a reply to message #224367] Mon, 20 February 2006 10:59 Go to previous message
Eclipse UserFriend
Felix L J Mayer wrote:
> Sounds interesting, but in which Eclipse version is that? I can't find it in
> 3.1.1.
>
> "Tobias Widmer" <tobias_widmer@ch.ibm.com> wrote in message
> news:dt40vl$43c$1@utils.eclipse.org...
>> Felix L J Mayer wrote:
>>> Is is possible to listen to refactoring changes in the Java model? I know
>>> I can listen to resource changes, but those IResourceDeltas don't contain
>>> any Java-specific information. I need to know if someone renamed an
>>> IField or an inner class represented as an IType, and I don't see how
>>> this would be available from an IResourceDelta.
>> There has been introduce new API to listen to refactoring changes. Have a
>> look at the interface IRefactoringHistoryService.
>>
>> Cheers
>>
>> Toby
>
>

It is in Eclipse 3.2 greater than M4

Cheers

Toby
Previous Topic:Setting breakpoint in classes loaded through reflection
Next Topic:Refactoring Support for Move Refactoring
Goto Forum:
  


Current Time: Sat Jul 12 16:02:37 EDT 2025

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

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

Back to the top