|
Re: Removing from an extension point [message #34390 is a reply to message #34251] |
Thu, 22 January 2004 02:45 |
Eclipse User |
|
|
|
Originally posted by: jeff_mcaffer_REMOVE.ca.ibm.com
First thing to note here is that the support for updating the view registry
etc was added last week. If you are using M6, it does not have that
support. Best bet is to get I0121 (today's integration build) and use that.
There are still missing bits of updating but most stuff works.
The second thing to note is that extensions and extension points exist
independent of bundle ACTIVE/STOPPED states. The are picked up/discarded
when a bundle becomes RESOLVED/UNINSTALLED. So, stopping your bundle does
not make your extension go away. However, it is an interesting point,
stopping a bundle that supplies a view likely should make the view get
disposed.
Entered bug
https://bugs.eclipse.org/bugs/show_bug.cgi?id=50367
to track this. It may already work as desired.
Jeff
"Peter Kriens" <Peter.Kriens@aQute.biz> wrote in message
news:bum1aj$pku$1@eclipse.org...
> I have implemented an OSGi view with a plugin. To be a good guy, I need to
> withdraw my view from the org.eclipse.ui.perspectiveExtensions extenstion
> point and close an active view.
>
> I can't find a way how to do this and it is not (as could be) done
> automatically when my bundle stops?
>
> Kind regards,
>
> Peter Kriens
>
|
|
|
Re: Removing from an extension point [message #34456 is a reply to message #34390] |
Thu, 22 January 2004 17:13 |
Kevin Duffey Messages: 304 Registered: July 2009 |
Senior Member |
|
|
Is there any notification to extension plugins when an extension point is
added? Meaning, if my plugin provides an extension point, and it is loaded,
say at some point later, after several plugins with extensions to my plugin
are already loaded, how is that handled? Is there an internal que that once
my extension point loads it gets flooded with "added extension"
notifications? Or does my extension point send out "extension point is
available" type of notifications to all extensions waiting for my extension
point?
"Jeff McAffer" <jeff_mcaffer_REMOVE@ca.ibm.com> wrote in message
news:bundfo$htr$1@eclipse.org...
> First thing to note here is that the support for updating the view
registry
> etc was added last week. If you are using M6, it does not have that
> support. Best bet is to get I0121 (today's integration build) and use
that.
> There are still missing bits of updating but most stuff works.
>
> The second thing to note is that extensions and extension points exist
> independent of bundle ACTIVE/STOPPED states. The are picked up/discarded
> when a bundle becomes RESOLVED/UNINSTALLED. So, stopping your bundle does
> not make your extension go away. However, it is an interesting point,
> stopping a bundle that supplies a view likely should make the view get
> disposed.
>
> Entered bug
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=50367
> to track this. It may already work as desired.
>
> Jeff
>
>
> "Peter Kriens" <Peter.Kriens@aQute.biz> wrote in message
> news:bum1aj$pku$1@eclipse.org...
> > I have implemented an OSGi view with a plugin. To be a good guy, I need
to
> > withdraw my view from the org.eclipse.ui.perspectiveExtensions
extenstion
> > point and close an active view.
> >
> > I can't find a way how to do this and it is not (as could be) done
> > automatically when my bundle stops?
> >
> > Kind regards,
> >
> > Peter Kriens
> >
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.03194 seconds