Bug 218127 [CommonNavigator] Common Navigator inherited viewer bindings
This enhancement describes the ability for common navigator viewer instances to "inherit" the action and content bindings from other viewers.
tests/org.eclipse.ui.tests.navigator/src/org/eclipse/ui/tests/navigator/NavigatorTestBase.java
}
	
	protected void tearDown() throws Exception {
		clearAll();
		
		EditorTestHelper.showView(_navigatorInstanceId, false);
	}
	protected void clearAll() throws Exception {
		IProject[] projects = ResourcesPlugin.getWorkspace().getRoot()
				.getProjects();
		for (int i = 0; i < projects.length; i++) {
			projects[i].delete(true, null);
		}
	}
	
	
	
	
	protected void refreshViewer() {
		try {
			TreeItem[] rootItems = _viewer.getTree().getItems();
			if (rootItems.length > 0)
				rootItems[0].setText("");
		} catch (Exception ex) {
			
		}
		_viewer.refresh();
	}
}