[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[platform-ui-dev] [CN]: Interfaces moved to API Package + Fixed unit test
|
The interfaces "ICommonContentProvider" and
"INavigatorContentServiceListener" have been moved to the API package
org.eclipse.ui.navigator.
The extension point navigatorContent no longer supports the ability to
specify a custom INavigatorContentExtension class; instead, clients must
define a content provider and label provider independently. There are no
known clients of this functionality in the 3.2 stream.
New API have been added to INavigatorContentService for programmatic
extension activation:
/**
* Enable the given extensions. Optionally disable all other
extensions.
*
* @param extensionIds The list of extensions to enable
* @param toDisableAllOthers True will disable all other extensions;
False will leave the other enablements as-is
* @return A list of all INavigatorContentDescriptors that were
enabled as a result of this call.
*/
public INavigatorContentDescriptor[] enableExtensions(String[]
extensionIds, boolean toDisableAllOthers);
/**
* Disable the specified extensions. Optionally enable all other
extensions.
*
* @param extensionIds The list of extensions to enable
* @param toEnableAllOthers True will enable all other extensions;
False will leave the other enablements as-is
* @return A list of all INavigatorContentDescriptors that were
enabled as a result of this call.
*/
public INavigatorContentDescriptor[] disableExtensions(String[]
extensionIds, boolean toEnableAllOthers);
These changes were tracked by the following defects:
118103 [CommonNavigator] NPE from NavigatorActivationService
118112 [CommonNavigator] Add API to programmatically enable/disable
extensions
118057 [CommonNavigator] ICommonContentProvider should be API
-------------------------------------------------------------------------
Kind Regards,
Michael D. Elder
Rational Studio / Services Tools Development
IBM RTP Lab
Ext: (919) 543-8356
T/L: 441-8356
mdelder@xxxxxxxxxx