Passing filename into RCP on startup [message #461649] |
Mon, 15 January 2007 14:58 |
Eclipse User |
|
|
|
Originally posted by: martin.me.roberts.bt.com
Hi,
In windows I can associate file extensions with applications, has any one done this for an Eclipse RCP application.
What I want to do is to double click on a file and have my application start with that file initialised.
Thanks
Martin
|
|
|
Re: Passing filename into RCP on startup [message #461677 is a reply to message #461649] |
Tue, 16 January 2007 07:32 |
Eclipse User |
|
|
|
Originally posted by: zxkane.msn.com
You can write an executable program(such as myapp.exe in Windows),
and associate the file extension with myapp.exe. Myapp.exe can handle the filename as a parameter for program argument.
or use Platform.getApplicationArgs() when WorkbenchWindowAdvisor#postWindowOpen
|
|
|
Powered by
FUDForum. Page generated in 0.02814 seconds