Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Login Dialog and splash screen
Login Dialog and splash screen [message #434409] Mon, 01 August 2005 16:34 Go to next message
Lokesh Shah is currently offline Lokesh ShahFriend
Messages: 19
Registered: July 2009
Junior Member
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 06:33 Go to previous messageGo to next message
udayms is currently offline udaymsFriend
Messages: 23
Registered: July 2009
Junior Member
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 08:41 Go to previous message
Roland Tepp is currently offline Roland TeppFriend
Messages: 336
Registered: July 2009
Senior Member
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: Thu Dec 26 19:45:14 GMT 2024

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

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

Back to the top