Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [e4-dev] e4 + splah handlers + app life cycle

On Mon, Dec 21, 2009 at 5:17 AM, Toedter, Kai <kai.toedter@xxxxxxxxxxx> wrote:
> Is there any hack that I could use right now to animate the splash screen? As far I have debugged the code, the current splash screen is displayed before the OSGi runtime starts and then not touched anymore...

In the 3.x world, we have code in a runUI() method that creates the
splash handler, an "init" thread that's allowed to post asyncExecs
that will run (more or less), and spins the event loop while
initializing the workbench in the init thread.

In e4, we would need equivalent code in
org.eclipse.e4.ui.workbench.swt.internal.PartRenderingEngine.run(MApplicationElement,
IEclipseContext) so that the model could be created/initialized and
the GUI created all while displaying the splash and spinning the event
loop.

AFAIK we will continue to use the splash handler (with enough
modifications to make it e4 friendly).  But no one has looked at this
yet.

PW

-- 
Paul Webster
Hi floor.  Make me a sammich! - GIR


Back to the top