| Login Dialog and splash screen [message #434409] |
Mon, 01 August 2005 12:34  |
Eclipse User |
|
|
|
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 #437468 is a reply to message #434409] |
Thu, 29 September 2005 04:41  |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.03635 seconds