Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Is there a hook into the startup processing?
Is there a hook into the startup processing? [message #735471] Tue, 11 October 2011 23:08 Go to next message
drew frantz is currently offline drew frantz
Messages: 340
Registered: July 2009
Senior Member
Would like the ability to check various resources during eclipse startup. Is
there is an extension point that allows one to hook into the startup
processing so that we can validate the current resources and if need be then
add a new resource during the startup of eclipse.
Re: Is there a hook into the startup processing? [message #735829 is a reply to message #735471] Wed, 12 October 2011 20:15 Go to previous messageGo to next message
Eclipse User
On 10/11/2011 7:08 PM, Drew wrote:
> Would like the ability to check various resources during eclipse
> startup. Is there is an extension point that allows one to hook into the
> startup processing so that we can validate the current resources and if
> need be then add a new resource during the startup of eclipse.

Sure... implement org.eclipse.ui.IStartup, especially the earlyStartup()
method.
Re: Is there a hook into the startup processing? [message #735846 is a reply to message #735829] Wed, 12 October 2011 21:06 Go to previous message
Lubos Pochman is currently offline Lubos Pochman
Messages: 29
Registered: July 2009
Junior Member
I am pretty sure you also have to add following to your plugin.xml:

<extension point="org.eclipse.ui.startup"/>
Previous Topic:whether section will have focus?
Next Topic:IHandlerService query for best-matching handler for given context
Goto Forum:
  


Current Time: Fri Oct 31 18:01:59 GMT 2014

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

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