Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Why no main method(Why no main method)
Why no main method [message #924097] Wed, 26 September 2012 10:00 Go to next message
Sheen Jacob is currently offline Sheen Jacob
Messages: 2
Registered: September 2012
Junior Member
Hello,

I am new to Plugin Development. I was going through some tutorials and i see that there is no main method in the java class. Can anyone explain to me why there is no main method and how it is executed without the main method.

Thanks in Advance
Re: Why no main method [message #924844 is a reply to message #924097] Thu, 27 September 2012 03:07 Go to previous message
Martin Skorsky is currently offline Martin Skorsky
Messages: 112
Registered: July 2009
Senior Member
plug-ins run in an OSGi environment like Equinox. They are started with the bundle activator, not with a main method. Of course, the Equinox launcher has a main method.

If the plug-in contributes to the UI of an RPC app or an IDE, the functionality is activated through menus, toolbars etc.
Previous Topic:GetPlugin from TargetPlatform
Next Topic:Create actions eats up eclipse
Goto Forum:
  


Current Time: Sat Jul 26 01:08:17 EDT 2014

Powered by FUDForum. Page generated in 1.01093 seconds