Skip to main content



      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 16:25 Go to next message
Eclipse UserFriend
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 07:39 Go to previous message
Eclipse UserFriend
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: Tue Jul 08 00:38:31 EDT 2025

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

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

Back to the top