[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools] Re: Plugin Registry Notifications?

Ted,

the registry of extension points is built when eclipse starts. It doesn't change
over a run of the program. So there is no need for notification. You can just go
ahead and read the set of extensions that plug into your plugin points (it's
just what's in the XML files, at that point). The code for those extensions, on
the other hand is only loaded when you need it.

Thomas

Ted Stockwell wrote:

> Hi,
>
> Is there a way to receive notification when a plug-in registers a particular
> extention?
> Or, is there a way to receive notification when the plug-in registry changes
> at all?
>
> Here's why I'm asking...
> I have a set of tools that I am integrating into Eclipse.  I am creating a
> plugin for each tool.  I have a main plugin that declares a perspective for
> viewing all my tools and in that perspective I have a view that lists all
> the resistered tools.  This view kinda looks like the Outlook Bar in MS
> Outlook.
> Anyway, I'm wondering how I can update my view if a new tool is loaded
> dynamically (due to the user performing an update, or dynamically importing
> a new plugin that declares an extension of my tool set).
>
> thanks,
> ted stockwell