Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Passing filename into RCP on startup
Passing filename into RCP on startup [message #461649] Mon, 15 January 2007 14:58 Go to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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
Previous Topic:Status Line Update
Next Topic:editing ruler in a sourceViewer
Goto Forum:
  


Current Time: Fri Apr 26 10:11:26 GMT 2024

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

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

Back to the top