Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Associating rcp exe with "this kind of file"
Associating rcp exe with "this kind of file" [message #898120] Wed, 25 July 2012 20:25 Go to next message
Stacey Hopkins is currently offline Stacey Hopkins
Messages: 34
Registered: March 2012
Member
Have developed an RCP (using EMF) which creates a .fm file for persistence (this is the standard xml persistence provided out-of-the-box).

I was wondering if there was an easy way for a user to double click the file and it would open up in the RCP. I have tried doing the 'Choose the program you want to use to open this file' option in windows, but it just opens up the RCP and does not go that one step further and actually open the file.

Anyone does this before?

Thanks,

Stacey
Re: Associating rcp exe with "this kind of file" [message #898433 is a reply to message #898120] Thu, 26 July 2012 11:39 Go to previous message
Brian de Alwis is currently offline Brian de Alwis
Messages: 242
Registered: July 2009
Senior Member
You need to specify the --launcher.openFile argument. See:

http://help.eclipse.org/juno/index.jsp?topic=%2Forg.eclipse.platform.doc.isv%2Fguide%2Fproduct_open_file.htm
Previous Topic:ClassLoader to load external JARs into Eclipse RCP app at runtime
Next Topic:Extend existing Menu
Goto Forum:
  


Current Time: Sat Oct 25 19:46:10 GMT 2014

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

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