Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » CommonNavigator and Eclipse 3.3M4
CommonNavigator and Eclipse 3.3M4 [message #460645] Tue, 26 December 2006 11:39
Nicolas Jouanin is currently offline Nicolas JouaninFriend
Messages: 52
Registered: July 2009
Member
Hi,

I've got a plugin in my RCP application which refers to CommonNavigator
stuffs.
Here's a piece of code i use to tell the CommonNavigator to use my own
viewer :

INavigatorContentService navigator =
NavigatorContentServiceFactory.INSTANCE.createContentService (navigatorContent,
viewer);
viewer.setContentProvider(navigator.createCommonContentProvi der());
viewer.setLabelProvider(navigator.createCommonLabelProvider( ));

This code requires imports :
import org.eclipse.ui.navigator.INavigatorContentService;
import org.eclipse.ui.navigator.NavigatorContentServiceFactory;

It works on 3.2.1. Now i'm using 3.3M4 as dev. environnement, and I get
compilation errors on this code with :

Access restriction: The type INavigatorContentService is not accessible
due to restriction on required library
/Users/nico/Dev/eclipse_3.3M4/plugins/org.eclipse.ui.navigat or_3.2.100.I20061212-0010b.jar


Dropping and adding the plugin dependency org.eclipse.ui.navigator
doesn't fix the problem.

Has CommonNavigator API changed in 3.3 ? is NavigatorContentService not
accessible anymore ?

Has anyone tried CommonNavigator on 3.3M4 ?

Nicolas.
Previous Topic:Need Help understanding TreeViewer
Next Topic:instruction pointer and other markers for view's ruler
Goto Forum:
  


Current Time: Fri Apr 19 23:13:44 GMT 2024

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

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

Back to the top