Bug 243824 [CommonNavigator] lacks table / tree-table support
SafeDelegateCommonLabelProvider does not allow ITableLabelProvider instances to be used or delegated to. To attempt to use an ITableLabelProvider will have no direct result at all. Even customizing the top level label provider used in the common navigator, making that one an ITableLabelProvider, does nothing because NavigatorContentExtension wraps the instantiated user label provider in a SafeDelegateCommonLabelProvider, which implements many interfaces but not ITableLabelProvider. The solution is to apply this patch to SafeDelegateCommonLabelProvider. At that point, an adopter can customize his Common Viewer's top level label provider to pass things down appropriately. The patch needed is only to SafeDelegateCommonLabelProvider
tests/org.eclipse.ui.tests.navigator/src/org/eclipse/ui/tests/navigator/NavigatorTestBase.java
* Contributors:
 *     IBM Corporation - initial API and implementation
 *******************************************************************************/
package org.eclipse.ui.tests.navigator;
import java.util.HashSet;
import java.util.Set;
import junit.framework.TestCase;
import org.eclipse.core.resources.IProject;
import org.eclipse.core.resources.IWorkspaceRoot;
import org.eclipse.core.resources.ResourcesPlugin;
import org.eclipse.swt.widgets.TreeItem;
import org.eclipse.ui.IWorkbenchPage;
import org.eclipse.ui.IWorkbenchWindow;
import org.eclipse.ui.PartInitException;
import org.eclipse.ui.PlatformUI;
import org.eclipse.ui.internal.navigator.NavigatorFilterService;
import org.eclipse.ui.navigator.CommonNavigator;
import org.eclipse.ui.navigator.CommonViewer;
import org.eclipse.ui.navigator.INavigatorContentService;
import org.eclipse.ui.navigator.NavigatorActionService;
import org.eclipse.ui.tests.harness.util.EditorTestHelper;
import org.eclipse.ui.tests.navigator.extension.TestDataSorter;
import org.eclipse.ui.tests.navigator.extension.TestResourceContentProvider;
import org.eclipse.ui.tests.navigator.util.TestWorkspace;
public class NavigatorTestBase extends TestCase {
	public static final String COMMON_NAVIGATOR_RESOURCE_EXT = "org.eclipse.ui.navigator.resourceContent"; 
	public static final String COMMON_NAVIGATOR_JAVA_EXT = "org.eclipse.jdt.java.ui.javaContent"; 
	public static final String COMMON_NAVIGATOR_TEST_EXT = "org.eclipse.ui.tests.navigator.testContent"; 
	public static final String TEST_CONTENT = "org.eclipse.ui.tests.navigator.testContent";
	public static final String TEST_CONTENT1 = "org.eclipse.ui.tests.navigator.testOverriddenContent1";