Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » start application with double click on mac
start application with double click on mac [message #498582] Tue, 17 November 2009 14:58
Eclipse UserFriend
Originally posted by:

Hi all,

We are moving a rcp application to the Mac OS environment but we are facing
some difficulties. The one that annoy us more is the file association of a
file extension with our application so that double-clicking on that kind of
files automatically launches our application. It's something we have already
implemented on the MS Windows version but we are having lots of problems on
the Mac version. We are currently using the cocoa port (Eclipse 3.6) and we
didn't found a way to capture the path of the file when the application is
launched using the double-click. In windows we used to ask for the
application arguments but in mac those arguments doesn't have the path. Is
there a way to know what file has been double-clicked or has been drag and
dropped over the application icon using the cocoa port?

Thanks in advance.
Previous Topic:Webinar: Cross Platform Development and Testing with Eclipse - Dec. 1
Next Topic:Product export - osgi.bundle missing
Goto Forum:

Current Time: Mon Aug 21 05:07:41 GMT 2017

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

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