|  | 
| 
| Re: Where to write initialization code before plug-in launches? [message #334045 is a reply to message #334040] | Fri, 16 January 2009 09:59  |  | 
| Eclipse User  |  |  |  |  | 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
 |  |  |  | 
Powered by 
FUDForum. Page generated in 0.03903 seconds