Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » BundleActivator in main thread
BundleActivator in main thread [message #91960] Wed, 11 July 2007 15: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 10:49 Go to previous message
Stephan is currently offline StephanFriend
Messages: 14
Registered: July 2009
Junior Member
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: Tue Apr 16 18:24:20 GMT 2024

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

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

Back to the top