Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Rename notifications.
Rename notifications. [message #127519] Mon, 15 December 2003 13:34 Go to next message
Eclipse UserFriend
Is there or will there be a way to be notified when the name of a method,
class, variable or whatever changes?
Guillaume
Re: Rename notifications. [message #127585 is a reply to message #127519] Mon, 15 December 2003 12:18 Go to previous messageGo to next message
Eclipse UserFriend
Only when this is changed in a Java editor. Use
JavaCore.addElementChangedListener(..., ElementChangedEvent.POST_RECONCILE)
to listen to these changes.

Jerome

"Guillaume Pothier" <gpothier@free.fr> wrote in message
news:pan.2003.12.15.18.34.33.426782@free.fr...
> Is there or will there be a way to be notified when the name of a method,
> class, variable or whatever changes?
> Guillaume
Re: Rename notifications. [message #127646 is a reply to message #127585] Mon, 15 December 2003 14:28 Go to previous message
Eclipse UserFriend
Thanks. Two questions:
- This listener will be notified only for refactorings, or whenever the
user manually changes the name of an entity?
- Apart from a Java editor, what can change the name of an entity?
G.

On Mon, 15 Dec 2003 18:18:58 +0100, Jerome Lanneluc wrote:

> Only when this is changed in a Java editor. Use
> JavaCore.addElementChangedListener(...,
> ElementChangedEvent.POST_RECONCILE) to listen to these changes.
>
> Jerome
>
> "Guillaume Pothier" <gpothier@free.fr> wrote in message
> news:pan.2003.12.15.18.34.33.426782@free.fr...
>> Is there or will there be a way to be notified when the name of a
>> method, class, variable or whatever changes?
>> Guillaume
Re: Rename notifications. [message #127659 is a reply to message #127646] Mon, 15 December 2003 12:52 Go to previous message
Eclipse UserFriend
> - This listener will be notified only for refactorings, or whenever the
> user manually changes the name of an entity?
It will be notified in both cases.

> - Apart from a Java editor, what can change the name of an entity?
A CVS check out for example
Previous Topic:Plugin that stop close of Eclipse?
Next Topic:[ANN] SWT Designer 1.2.2 Released
Goto Forum:
  


Current Time: Wed Sep 17 19:22:04 EDT 2025

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

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

Back to the top