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

Hello all,

Thanks for your helpful answers on my question and the LifecycleHandler examples. Marc Teufel also wrote today a blog entry [1] on this topic.

I have still an unresolved problem. In the StartupLifeCycleHandler i need access to the splash shell otherwise the dialog will disappear behind the splash image if i use the current/active shell.


[1] http://marcteufel.wordpress.com/2011/05/05/231/


Christoph

-----Urspr?ngliche Nachricht-----
Von: e4-dev-bounces@xxxxxxxxxxx [mailto:e4-dev-bounces@xxxxxxxxxxx] Im Auftrag von Tom Schindl
Gesendet: Donnerstag, 5. Mai 2011 09:52
An: E4 Project developer mailing list
Betreff: Re: [e4-dev] e4 + splah handlers + app life cycle


Hi,

You can install a Lifecycle-Handler using the product extension points arguments. I've had written such a demo thing for Jax this week where I mainly presented
EMF-Databinding but the final result was an e4 application.

I didn't show a splash-screen but a file selection dialog but the idea should be the same. You can get access to the sources from by github repository [1,2].

Tom

[1] https://github.com/tomsontom/emfdatabinding-tutorial
[2] https://github.com/tomsontom/emfdatabinding-tutorial/tree/master/at.bestsolution.e4.addressbook.swt.application/src/at/bestsolution/e4/addressbook/swt/application

On Wed, 4 May 2011 12:48:16 +0200, Glanzmann Christoph SBB CFF FFS <christoph.glanzmann@xxxxxx> wrote:
> Hello
>
> I am trying to port an Eclipse 3.x application to e4 and found your
> discussion [1]. I would like to have a login dialog in front of my
splash
> screen as early as possible but with access to the OSGi runtime to get
my
> authentication service from a different plug-in. This look quite
> similar
to
> the Workspace Launcher dialog in the Eclipse SDK when starting.
>
> In Eclipse 3.x i did this within the Application class and
> WorkbenchPlugin.getSplashShell(display) got me the splash shell.
>
> How can i achieve this in e4 without implementing the rather large
> E4Application class by myself? Are there some application life cycle
hooks
> and splash handlers available where i can implement my login screen?
>
> [1] http://dev.eclipse.org/mhonarc/lists/e4-dev/msg02200.html
>
> Thanks a lot for your answer.
>
> Christoph
> _______________________________________________
> e4-dev mailing list
> e4-dev@xxxxxxxxxxx https://dev.eclipse.org/mailman/listinfo/e4-dev
_______________________________________________
e4-dev mailing list
e4-dev@xxxxxxxxxxx https://dev.eclipse.org/mailman/listinfo/e4-dev


Back to the top