Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[efxclipse-dev] Splash Screen Service

Hi,

 

I’m soon going to port our splash screen service we developed for SWT to FX.
(See https://bugs.eclipse.org/bugs/show_bug.cgi?id=382224).

 

Are you interested to include this in efxclipse?

If so, it would be cool to discuss some implementation details.

 

Step 1) Migrate the service to JavaFX

 

The service will be located it a separate bundle which can optionally be included. The bundle should have minimal dependencies. The SplashService will be available as an OSGi service, so it can be used in any OSGi application based on FX. Used in an E4 application the service factory can be injected on @PostContextCreate and its properties (image location, etc.) can be set there. The SplashService will also be available for injection, so the application can set the text and the progress.

 

Step 2) Integrate the service into E4Application

 

In this case the factory properties can also be set as properties of the product definition (extension point org.eclipse.core.runtime.products). The E4Application will then handle showing and hiding the splash screen. The SplashService will be available for injection, so the application can set the text and the progress.

 

Please let me know what you think.

 

Smile,

Christoph

--

Christoph Keimel

EM-SOFTWARE GmbH

Oskar-Messter-Straße 29

85737 Ismaning

 

Tel: 089 / 996547-26

Fax: 089 / 996547-99

Internet: http://www.emsw.de

EMail: c.keimel@xxxxxxx

 

Geschäftsführer: Dipl.-Inf. (FH) Georg Engl UST-Id-Nr.: DE 131 175 644, HRB 80271 München

 


Back to the top