Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 264839

Summary: [CommonNavigator] Creating a new sample Navigator view results in an error
Product: [Eclipse Project] Platform Reporter: David Michonneau <davidmichonneau>
Component: UIAssignee: Francis Upton IV <francisu>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: bokowski
Version: 3.4.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description David Michonneau CLA 2009-02-13 08:47:17 EST
Build ID: M20080911-1700

Steps To Reproduce:
Steps To Reproduce:
1. Create a new Navigator View based on org.eclipse.ui.navigator.CommonNavigator
2. Start a runtime workbench that includes this view
3. In the newly started workbench, click on a project in the navigator view
4. An error appears in the error log:
Contributor my.sample.navigatorview cannot be created.




More information:
This is due to the implementation of ProjectExplorer in the org.eclipse.ui.navigator.resources plugin. It defines an adapter factory on CommonNavigator that returns a org.eclipse.ui.internal.navigator.resources.workbench.TabbedPropertySheetAdapterFactory, which itself creates a TabbedPropertySheetPage, that logs the error if no tabbed property view contributor with the runtime id of the view is registered. This unfortunately impacts all the views based on CommonNavigator. Clearly, the Project Explorer should not register a factory for all CommonNavigator based views.
Comment 1 Francis Upton IV CLA 2009-03-05 18:25:01 EST

*** This bug has been marked as a duplicate of bug 244354 ***