Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[platform-ui-dev] [CN] Update to org.eclipse.ui.navigator.navigatorContent (and actionProvider) extension points.


Extended Team:

The following changes have been made to the extension points of the Common
Navigator framework. Clients should react as
necessary.  See https://bugs.eclipse.org/bugs/show_bug.cgi?id=119971 for
more details.

Clients, please take note:
+ Clients that are using the org.eclipse.ui.navigator.actionProvider
extension point must now embed their <actionProvider> elements in the
org.eclipse.ui.navigator.navigatorContent extension point.
+ Clients may now embed multiple <actionProvider> elements in a single
<navigatorContent> element, or they may have top-level <actionProvider>
elements. Clients using the 'actionProvider' attribute of navigatorContent,
please change your extensions to use the embedded element.
+ Action extensions now also require a 'viewerActionBinding' (as part of
the org.eclipse.ui.navigator.viewer extension point). The schema
documentation has been updated with the details.
+ There is a change in the provisional API:
INavigatorViewerDescriptor.isVisibleExtension() was broken into two
methods: isVisibleActionExtension and isVisibleContentExtension.

I don't think the team extensions were impacted by this change. Please pick
up the latest version of the navigator plugins out of HEAD to confirm.

Also, since the audience of interested parties for the JDT patch (an
extension for the JDT Package Explorer contribution to the Common Navigator
is being prototyped locally). I have released an updated version of the
patch to org.eclipse.ui.navigator/jdt-patch/org.eclipse.jdt.ui_patch.txt.
Please reference this patch for more information.


A breif summary of the changes that were made:

org.eclipse.ui.navigator.navigatorContent reshaped:
+Removed actionProvider attribute from 'navigatorContent'
+Added 0..* sequence of 'actionProvider' tags with 'class' and 'id'
attribute as children of the root extension point
+Added 0..* sequence of 'actionProvider' tags with 'class' attribute as
children of 'navigatorContent'
+Removed org.eclipse.ui.navigator.actionProvider extension point
+Added 'viewerActionBinding' element to org.eclipse.ui.navigator.viewer
extension point. Clients may now binding (or ignore) action providers in
the context of specific viewers.



-------------------------------------------------------------------------
Kind Regards,

Michael D. Elder
Rational Studio / Services Tools Development
IBM RTP Lab
Ext: (919) 543-8356
T/L:  441-8356
mdelder@xxxxxxxxxx





Back to the top