Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Associate SWT Application with specific files on OS X
Associate SWT Application with specific files on OS X [message #436298] Fri, 14 May 2004 22:25
Eclipse UserFriend
Originally posted by: ochalouhi.SPAMaelitis.com

I'm trying to associate my application (using only SWT) with some
specific files.
I'm not an OS X guru, so someone modified my Info.plist file so that OS
X is aware that my application should open those files.
Now, usually, using AWT (or Swing), the application has to register
itself as a special listener using com.apple.eawt.Application and
ApplicationListener (for the event public void
handleOpenFile(ApplicationEvent evt) { ... )
Which doesn't work with SWT (or maybe javaswt ...) anyway, the main
Thread stalls in loading the "awt" library.

Anyone has an idea on how I could do this (in an application bundle).

My application usually opens file by using the command line (the only -
optional - argument is a file to open ....).


Regards,

Olivier Chalouhi.
Previous Topic:Capture the browser rendering as an image
Next Topic:how to updating a window ?
Goto Forum:
  


Current Time: Mon Sep 23 14:39:10 GMT 2024

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

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

Back to the top