Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Loading a plugin
Loading a plugin [message #156957] Fri, 14 November 2003 17:23 Go to next message
Philip Borlin is currently offline Philip BorlinFriend
Messages: 43
Registered: July 2009
Member
I have two plugins: a core plugin which will have all of my headless
stuff and a ui plugin which will have all of the gui stuff.

I have the ui plugin setup as my application and it runs just fine and
pops up my little hello world JFrame (yes Swing) just fine. In the
Plugin class for my core plugin I overroad the startup method so that it
will check the update server for new updates. The problem is that the
core plugin never gets loaded. What is the best way to go about
ensuring that it is loaded?

Thanks,
-Phil
Re: Loading a plugin [message #157179 is a reply to message #156957] Fri, 14 November 2003 22:56 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: richkulp.NO.SPAM.us.ibm.com

Your UI plugin should reference some class from the core plugin and call
a method on it. That would cause the core plugin to be activated and the
startup method called on it.

--
Thanks, Rich Kulp

Re: Loading a plugin [message #157781 is a reply to message #157179] Mon, 17 November 2003 15:52 Go to previous message
Philip Borlin is currently offline Philip BorlinFriend
Messages: 43
Registered: July 2009
Member
Thanks,
I decided to call:
Plugin plugin = Platform.getPlugin("foo.bar");
which seems to work.

-Phil

Rich Kulp wrote:
> Your UI plugin should reference some class from the core plugin and call
> a method on it. That would cause the core plugin to be activated and the
> startup method called on it.
>
Previous Topic:CVS behaviour difference between old and new CVS server version.
Next Topic:Ant error reporting
Goto Forum:
  


Current Time: Mon Nov 11 08:38:51 GMT 2024

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

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

Back to the top