Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » When is workbench Initialization completed?
When is workbench Initialization completed? [message #122670] Thu, 04 September 2003 09:46 Go to next message
Eclipse UserFriend
Originally posted by: shyjee.us.ibm.com

I have an application using the Workbench Window with top level menus.
The menus and menu-items are contributed through a plugin with extension
to "actionSet" extension-point.

My question is, what is the last method called by the Eclipse Runtime
System in its sequence of loading plugins and performing initializations?
Just like the overriden startup() method of our Plugin subclass is
guaranteed to be called when inititializing and shutdown() is guarateed
during exit, is there a way to know when all initialization is completed?

I would like to notify my application user that it is "ready and open for
business" after I am sure all initializations have finished.

Also, does the runtime load the various plugins in multiple threads? In
what sequence does it resolve dependencies and extensions?

any help would be appreciated.
Re: When is workbench Initialization completed? [message #122810 is a reply to message #122670] Thu, 04 September 2003 16:45 Go to previous messageGo to next message
Eclipse UserFriend
One way of doing this is to extend the org.eclipse.ui.startup extension
point.
Your plugin has to implement IStartup and will be called once the entire
platform is loaded. This is the right point to declare readiness for
business.

Chris

"Shyjee Mathai" <shyjee@us.ibm.com> wrote in message
news:bj7fof$39u$1@eclipse.org...
> I have an application using the Workbench Window with top level menus.
> The menus and menu-items are contributed through a plugin with extension
> to "actionSet" extension-point.
>
> My question is, what is the last method called by the Eclipse Runtime
> System in its sequence of loading plugins and performing initializations?
> Just like the overriden startup() method of our Plugin subclass is
> guaranteed to be called when inititializing and shutdown() is guarateed
> during exit, is there a way to know when all initialization is completed?
>
> I would like to notify my application user that it is "ready and open for
> business" after I am sure all initializations have finished.
>
> Also, does the runtime load the various plugins in multiple threads? In
> what sequence does it resolve dependencies and extensions?
>
> any help would be appreciated.
>
Re: When is workbench Initialization completed? [message #122951 is a reply to message #122810] Fri, 05 September 2003 08:54 Go to previous message
Eclipse UserFriend
Originally posted by: shyjee.us.ibm.com

Thanks Chris, yes that does help. My plugin implements IStartup and the
earlyStartup() method is where I put my post-initialization code to
indicate readiness to the user.

Chris Laffra wrote:

> One way of doing this is to extend the org.eclipse.ui.startup extension
> point.
> Your plugin has to implement IStartup and will be called once the entire
> platform is loaded. This is the right point to declare readiness for
> business.

> Chris

> "Shyjee Mathai" <shyjee@us.ibm.com> wrote in message
> news:bj7fof$39u$1@eclipse.org...
> > I have an application using the Workbench Window with top level menus.
> > The menus and menu-items are contributed through a plugin with extension
> > to "actionSet" extension-point.
> >
> > My question is, what is the last method called by the Eclipse Runtime
> > System in its sequence of loading plugins and performing initializations?
> > Just like the overriden startup() method of our Plugin subclass is
> > guaranteed to be called when inititializing and shutdown() is guarateed
> > during exit, is there a way to know when all initialization is completed?
> >
> > I would like to notify my application user that it is "ready and open for
> > business" after I am sure all initializations have finished.
> >
> > Also, does the runtime load the various plugins in multiple threads? In
> > what sequence does it resolve dependencies and extensions?
> >
> > any help would be appreciated.
> >
Previous Topic:install/update
Next Topic:Table with ScrollBars and SetSize.
Goto Forum:
  


Current Time: Sat Jul 19 15:34:42 EDT 2025

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

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

Back to the top