Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Where to write initialization code before plug-in launches?
Where to write initialization code before plug-in launches? [message #334040] Fri, 16 January 2009 10:26 Go to next message
Prasanna K is currently offline Prasanna KFriend
Messages: 78
Registered: July 2009
Member
Hello,

I am writing an eclipse plug-in.
Is there some init method / some other place where I can add some code
when eclipse launches and before start() method of my plug-in class gets
called?

Thanks.
Re: Where to write initialization code before plug-in launches? [message #334045 is a reply to message #334040] Fri, 16 January 2009 14:59 Go to previous message
Chris Aniszczyk is currently offline Chris AniszczykFriend
Messages: 674
Registered: July 2009
Senior Member
kaprasi wrote:
> Hello,
>
> I am writing an eclipse plug-in.
> Is there some init method / some other place where I can add some code
> when eclipse launches and before start() method of my plug-in class gets
> called?
> Thanks.

What are you seeking to do? What is wrong with using the start() method
of your plug-in or another plug-in of yours?

In Eclipse, there is the org.eclipse.ui.startup extension point that can
be used to initialize things when the workbench is brought up, but I
discourage people from using this. The problem is that people think they
have the most important plug-in in the world when in reality, they
should play nicely with everyone else.

Cheers,

~ Chris
Previous Topic:[Common Navigator] possible memory problems w/ NavigatorContentDescriptorManager
Next Topic:Help getting popup menu item to appear based on a System Property
Goto Forum:
  


Current Time: Tue Jul 30 19:32:17 GMT 2024

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

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

Back to the top