Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Splash progress bar for early initialization
Splash progress bar for early initialization [message #449435] Sat, 13 May 2006 15:28 Go to next message
Eclipse UserFriend
Hi,

my rcp app uses spring and hibernate for database
access, both in their own plugins. On startup of
the application I need the user to login. The login
dialog has to be presented to the user before the
workbench itself gets started via PlatformUI.createAndRunWorkbench
because I've to relocate the workbench instance location
depending on the username.

The login process requires spring and hibernate
to be initialized, which could take quite some
time. I'd like to show some messages in the
splash screen progress bar while initializing
spring, but the progress bar doesn't exist until
the workbench itself gets started. This is far
too late for my purposes.

Any idea how I can make the progress bar appear
before the workbench starts and how I can display
my own messages into it?

Thanks,
Axel
Re: Splash progress bar for early initialization [message #449504 is a reply to message #449435] Mon, 15 May 2006 11:28 Go to previous messageGo to next message
Eclipse UserFriend
Have a look at org.eclipse.ui.internal.StartupProgressMonitor. You might
want to enter an enhancement request against Platform/UI to provide API for
custom startup progress reporting.

Boris

"Axel Schlueter" <axel_eclipse@pqrs.de> wrote in message
news:e45c0j$b13$1@utils.eclipse.org...
> Hi,
>
> my rcp app uses spring and hibernate for database
> access, both in their own plugins. On startup of
> the application I need the user to login. The login
> dialog has to be presented to the user before the
> workbench itself gets started via PlatformUI.createAndRunWorkbench
> because I've to relocate the workbench instance location
> depending on the username.
>
> The login process requires spring and hibernate
> to be initialized, which could take quite some
> time. I'd like to show some messages in the
> splash screen progress bar while initializing
> spring, but the progress bar doesn't exist until
> the workbench itself gets started. This is far
> too late for my purposes.
>
> Any idea how I can make the progress bar appear
> before the workbench starts and how I can display
> my own messages into it?
>
> Thanks,
> Axel
Re: Splash progress bar for early initialization [message #449511 is a reply to message #449504] Mon, 15 May 2006 12:04 Go to previous messageGo to next message
Eclipse UserFriend
Boris Bokowski wrote:
> want to enter an enhancement request against Platform/UI to provide API for
> custom startup progress reporting.

Done, bug id is 141792.

Regards,
Axel
Re: Splash progress bar for early initialization [message #449512 is a reply to message #449504] Mon, 15 May 2006 12:36 Go to previous message
Eclipse UserFriend
Boris Bokowski wrote:
> Have a look at org.eclipse.ui.internal.StartupProgressMonitor.

That got it working for me, thank you. I just created my own
copy of the StartupProgressMonitor and started using this at
application startup time. An offical API would be fine nonetheless.

Regards,
Axel
Previous Topic:isDirty() == true, but dirty flag (*) doesn't show up in the editor
Next Topic:RCP strange behavior using XMLDecoder
Goto Forum:
  


Current Time: Sun Aug 31 06:11:30 EDT 2025

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

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

Back to the top