Community
Participate
Working Groups
Similar problem with tabbed property sheet and common navigator. We have also created a custom common navigator and enabled the use of a tabbed property sheet extension. It worked fine in 3.4.x, but when using 3.6.0 the tabbed property sheet failed to load. Traced to the code below: public class TabbedPropertySheetAdapterFactory implements IAdapterFactory { /* * (non-Javadoc) * * @see org.eclipse.core.runtime.IAdapterFactory#getAdapter(java.lang.Object, * java.lang.Class) */ public Object getAdapter(Object adaptableObject, Class adapterType) { if (adaptableObject instanceof ProjectExplorer) { if (IPropertySheetPage.class == adapterType) return new TabbedPropertySheetPage( new TabbedPropertySheetProjectExplorerContributor( (CommonNavigator) adaptableObject)); } return null; } The #getAdapter() will always return null for my CommonNavigator.
This was reported as part of bug 310721 but was really not related to that. Moving to its own bug.
In the plugin.xml for o.e.ui.navigator.resources the adaptableType is set to CommonNavigator. It should be ProjectExplorer which might be causing this problem for you. Also, make sure you have your own adapter registered for your own subclass of CommonNavigator. See https://bugs.eclipse.org/bugs/show_bug.cgi?id=304393#c1
Released to HEAD 3.7M7