Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Re: FileEditorInput works only on IFile?
Re: FileEditorInput works only on IFile? [message #20504] Mon, 28 April 2003 15:40 Go to next message
Eclipse UserFriend
Originally posted by: knut_radloff.oti.com

"Keerthi Arutla" <karutla@hotmail.com> wrote in message news:b8g1m5$nhj$1@rogue.oti.com...
> Is there a way to create eclipse File Object
> (org.eclipse.core.internal.resources.File) for a file that is outside the
> workspace directory?

You can create a linked file. Once you have a folder handle to a workspace location you can link it to any location on the local
file system using IFile.createLink.
See WizardNewFileCreationPage for an example.

Knut
Re: FileEditorInput works only on IFile? [message #21838 is a reply to message #20504] Tue, 29 April 2003 04:35 Go to previous message
Eclipse UserFriend
Originally posted by: karutla.hotmail.com

Thank you all for taking time to suggest your ideas.

Actually, At one point I thought about creating links and maintaining them
myself. Obviously, I didn't look at the API hard enough to find createLink
feature of IFile.

Thank you all again
-Keerthi



"Knut Radloff" <knut_radloff@oti.com> wrote in message
news:b8k033$h2d$1@rogue.oti.com...
> "Keerthi Arutla" <karutla@hotmail.com> wrote in message
news:b8g1m5$nhj$1@rogue.oti.com...
> > Is there a way to create eclipse File Object
> > (org.eclipse.core.internal.resources.File) for a file that is outside
the
> > workspace directory?
>
> You can create a linked file. Once you have a folder handle to a workspace
location you can link it to any location on the local
> file system using IFile.createLink.
> See WizardNewFileCreationPage for an example.
>
> Knut
>
>
Previous Topic:Changes to External tools ui / Creation of Ant UI
Next Topic:How do i open up the 'Properties' page and the Java Build Path screen?
Goto Forum:
  


Current Time: Sat Jul 12 08:29:54 EDT 2025

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

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

Back to the top