Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Open external files in RCP Application
Open external files in RCP Application [message #666784] Fri, 22 April 2011 14:37 Go to next message
Romain  is currently offline Romain Friend
Messages: 1
Registered: April 2011
Junior Member
Hello,

I would like to open external files (.txt, .doc, .pdf, .html, ...) in my RCP Application.

I've got the path of my file

String path = "c:\Documents\examples.txt"


I would like the same behavior than on basic IDE eclipse, ie is open a new view with the file content.

if is a .doc file, i want Microsoft word opened on my application (like on the basic Eclipse IDE)

Do you have an idea ?

Thanks

romain
Re: Open external files in RCP Application [message #667764 is a reply to message #666784] Mon, 02 May 2011 06:42 Go to previous message
Dani Megert is currently offline Dani MegertFriend
Messages: 3801
Registered: July 2009
Senior Member
On 22.04.2011 16:37, Romain wrote:
> Hello,
>
> I would like to open external files (.txt, .doc, .pdf, .html, ...) in
> my RCP Application.
>
> I've got the path of my file
> String path = "c:\Documents\examples.txt"
>
> I would like the same behavior than on basic IDE eclipse, ie is open a
> new view with the file content.
>
> if is a .doc file, i want Microsoft word opened on my application
> (like on the basic Eclipse IDE)
>
> Do you have an idea ?
You might want to take a look at
http://www.eclipse.org/eclipse/platform-text/development/rcp /examples/index.html

Dani
>
> Thanks
>
> romain
Previous Topic:How to refresh my CNF for custom object model?
Next Topic:Text field, AutoCompleteField: content proposal window not disappearing?
Goto Forum:
  


Current Time: Thu Nov 27 13:19:56 GMT 2014

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

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