Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipse-incubator-e4-dev] SWT thread in managed runtimes

I know equinox and OSGi does support multiple applications. We have
such an application model in eRCP and OSGi MEG also has it. Of course
OSGi does not define any relation to the UI and eRCP model is a bit
limited. I was wondering would you see that we need an application
model that spans from device to desktop to web? Currently we have
runtimes that does provide seperate application models for all these
areas without any compatability among them. I am not sure if this is
now stepping into the RT project and if there is a plan to have it in
RT but I think this is a need.
--
Gorkem


On Tue, Apr 8, 2008 at 5:55 PM, Thomas Watson <tjwatson@xxxxxxxxxx> wrote:
>
>
> Responses below
>
>  Tom
>
>
>
>
>  > org.eclipse.core.runtime.applications allows to have one application
>  > per process right? So there are is no need to share the ui thread
>  > among different applications.
>
>  By default this is true.  Applications are singletons per process by
>  default, this is defined by the cardinality attribute of an applications
>  extension.  The Equinox application container is flexible enough to allow
>  applications that are more cooperative.  For example, you could imagine
>  multiple applications sharing the same SWT display.
>
>
>  > How is the splash screen handled? Splash screen also requires the use
>  > of native UI thread and possibly the creation of the native equivalent
>  > of Display. Some toolkits allow one per process and they are bound to
>  > the thread. In this case SWT Display will not be able to reuse it.
>
>  The splash screen is handled by the native launcher which uses the
>  first thread to create a native splash shell.  There is some
>  SWT magic currently going on to allow SWT to use the splash
>  created by the native launcher for the SWT Display.  If we
>  introduce applications launched on other threads then this
>  hand off may not be possible.  The current splash screen story
>  in Eclipse assumes a single application launch per platform
>  launch and it assumes the splash screen is for an application
>  that is run on the first thread.  We will have to revisit this if we
>  want to have splash screens for multiple applications launched with in
>  the same running instance of the platform.
>
>  > --
>  > Gorkem
>  >
>
> _______________________________________________
>  eclipse-incubator-e4-dev mailing list
>  eclipse-incubator-e4-dev@xxxxxxxxxxx
>  https://dev.eclipse.org/mailman/listinfo/eclipse-incubator-e4-dev
>
>


Back to the top