Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Refactoring Listener?
Refactoring Listener? [message #224299] Thu, 16 February 2006 21:32 Go to next message
Felix L J Mayer is currently offline Felix L J MayerFriend
Messages: 202
Registered: July 2009
Senior Member
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 22:21 Go to previous messageGo to next message
Felix L J Mayer is currently offline Felix L J MayerFriend
Messages: 202
Registered: July 2009
Senior Member
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 08:20 Go to previous messageGo to next message
Tobias Widmer is currently offline Tobias WidmerFriend
Messages: 97
Registered: July 2009
Member
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 16:47 Go to previous messageGo to next message
Felix L J Mayer is currently offline Felix L J MayerFriend
Messages: 202
Registered: July 2009
Senior Member
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 15:59 Go to previous message
Tobias Widmer is currently offline Tobias WidmerFriend
Messages: 97
Registered: July 2009
Member
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: Fri Apr 26 06:12:32 GMT 2024

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

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

Back to the top