Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Login Dialog and splash screen
Login Dialog and splash screen [message #434409] Mon, 01 August 2005 12:34 Go to next message
Eclipse UserFriend
In my application, a user has to login before the workbench window is
shown. Taking hint from other login threads in the group, I do the login
using the code below.

Platform.endSplash();
if (login(display)) {
int returnCode = PlatformUI.createAndRunWorkbench(display, advisor);
}

I remove the splash screen just before displaying the login dialog.
However, PlatformUI.createAndRunWorkbench(display, advisor), has some
delay during which there is nothing on the users screen. I believe this
delay is because the workbench is getting initialized.
Is there a way to initialize the workbench without showing?

Regards,
Lokesh
Re: Login Dialog and splash screen [message #437462 is a reply to message #434409] Thu, 29 September 2005 02:33 Go to previous messageGo to next message
Eclipse UserFriend
Hi,
I also have the same probs. Any idea anybody?

Cheers,
Uday
Re: Login Dialog and splash screen [message #437468 is a reply to message #434409] Thu, 29 September 2005 04:41 Go to previous message
Eclipse UserFriend
Well ... you could display another shell, imitating the splash screen or
You could change the appearance of the login screen to something
indicating that the application is about to start and close login screen
after the window has opened.

Be creative ;)

Lokesh Shah kirjutas mulle ühel talvisel päeval midagi seesugust:
> In my application, a user has to login before the workbench window is
> shown. Taking hint from other login threads in the group, I do the login
> using the code below.
>
> Platform.endSplash();
> if (login(display)) {
> int returnCode = PlatformUI.createAndRunWorkbench(display, advisor);
> }
>
> I remove the splash screen just before displaying the login dialog.
> However, PlatformUI.createAndRunWorkbench(display, advisor), has some
> delay during which there is nothing on the users screen. I believe this
> delay is because the workbench is getting initialized.
> Is there a way to initialize the workbench without showing?
>
> Regards,
> Lokesh

--
Roland Tepp
Previous Topic:Problem to integrate a 3rd-part plugin
Next Topic:Problems updating features
Goto Forum:
  


Current Time: Fri Nov 07 08:21:07 EST 2025

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

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

Back to the top