Skip to main content



      Home
Home » Eclipse Projects » Equinox » BundleActivator in main thread
BundleActivator in main thread [message #91960] Wed, 11 July 2007 11:36 Go to next message
Eclipse UserFriend
Originally posted by: sdiz.spspam.spam.sdiz.spam.net

I have some native method that must be called in main thread.
How can I use them in my bundle activator?

--
Re: BundleActivator in main thread [message #92128 is a reply to message #91960] Mon, 16 July 2007 06:49 Go to previous message
Eclipse UserFriend
With Eclipse 3.3, you could try the following:
- create an application (extension point "org.eclipse.core.runtime.applications")
- set the attribute "thread" of the application to "main"
- move your code from the activator to the application
- start with -application yourAppId

HTH, Stephan
Previous Topic:Programmatically start Equinox in standalone application
Next Topic:Re: Dynamic extensions in 3.2 with custom class loader
Goto Forum:
  


Current Time: Mon May 05 08:45:12 EDT 2025

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

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

Back to the top