Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Renaming a file and editor
Renaming a file and editor [message #61758] Tue, 03 June 2003 22:51 Go to next message
Eclipse UserFriend
Hi,

When you double click a file in Navigator view, it opens the editor for that
file. And if you rename the file, the editor name also gets changed. I want
to do the same thing in my java program.
I used java.io.File for renaming but it makes editor to close.

Any help would be appreciated


thanks
Khurrum
Re: Renaming a file and editor [message #62193 is a reply to message #61758] Wed, 04 June 2003 08:47 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: adam_kiezun.ch.ibm.spam.protection.com

try using IResource:move instead

a.
eclipse.org
Re: Renaming a file and editor [message #62808 is a reply to message #62193] Wed, 04 June 2003 15:54 Go to previous message
Eclipse UserFriend
Thanks it worked.

"Adam Kiezun" <adam_kiezun@ch.ibm.spam.protection.com> wrote in message
news:bbkpp6$rc8$1@rogue.oti.com...
> try using IResource:move instead
>
> a.
> eclipse.org
>
>
Previous Topic:Eclipse 2.1 hangs on Sun JVM 1.4.2 beta on SuSE Linux 8.2
Next Topic:Plugin directory configuration
Goto Forum:
  


Current Time: Fri Jun 06 05:49:14 EDT 2025

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

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

Back to the top