ResourceChangeListener & Rename a File [message #225055] |
Thu, 08 April 2004 21:03  |
Eclipse User |
|
|
|
Hi, there,
I noticed that the text editor of Eclipse has such functionality, that is,
when renaming a file, the corresponding editor will just change the title to
reflect the change. I'm wondering how to implement this.
In fact, I've read the article about ResouceChangeListener on Eclipse home
page, and also tried to read the source code about RenameSourceAction, but I
still feel difficult to start with this issue. Is there anyone can give some
simple hint on how to deal with the rename-file thing?
Thanks,
Charles
|
|
|
Re: ResourceChangeListener & Rename a File [message #226672 is a reply to message #225055] |
Sun, 11 April 2004 21:57   |
Eclipse User |
|
|
|
I think I got it. So just ignore this post.
"Charles" <charleszq@163.com> wrote in message
news:c54sfd$pf4$1@eclipse.org...
> Hi, there,
>
> I noticed that the text editor of Eclipse has such functionality, that is,
> when renaming a file, the corresponding editor will just change the title
to
> reflect the change. I'm wondering how to implement this.
>
> In fact, I've read the article about ResouceChangeListener on Eclipse home
> page, and also tried to read the source code about RenameSourceAction, but
I
> still feel difficult to start with this issue. Is there anyone can give
some
> simple hint on how to deal with the rename-file thing?
>
> Thanks,
>
> Charles
>
>
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02691 seconds