Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » How to get IFile object from the file other then workspace
How to get IFile object from the file other then workspace [message #234683] Mon, 28 May 2007 18:15 Go to next message
Rohit Khariwal is currently offline Rohit KhariwalFriend
Messages: 114
Registered: July 2009
Senior Member
Hello all,

i am creating a RCP image editor application using GEF. and FileEditorInput takes IFile as a input parameter. I have searched a lot for creating Ifile object from the file which is not in the workspace, but could not get.

please help me out of this issues

thanks
rohit
Re: How to get IFile object from the file other then workspace [message #234703 is a reply to message #234683] Tue, 29 May 2007 02:16 Go to previous message
Eric Suen is currently offline Eric SuenFriend
Messages: 94
Registered: July 2009
Member
> Hello all,
>
> i am creating a RCP image editor application using GEF. and FileEditorInput
> takes IFile as a input parameter. I have searched a lot for creating Ifile
> object from the file which is not in the workspace, but could not get.
>
> please help me out of this issues
>
> thanks
> rohit

I think you should use JavaFileEditorInput instead of
FileEditorInput for external file, take a look at class:

org.eclipse.ui.internal.editors.text.OpenExternalFileAction

Eric
Previous Topic:Content outline trigger?
Next Topic:Contributing menu/toolbar items to my GEF/RCP app
Goto Forum:
  


Current Time: Tue Mar 19 11:26:11 GMT 2024

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

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

Back to the top