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/ActionProviderTest.java
IStructuredSelection sel;
		sel = new StructuredSelection(
				((IContainer) _p2.members()[1]).members()[0]);
		_viewer.setSelection(sel);
		if (false)
			DisplayHelper.sleep(10000000);
		
		assertNull(verifyMenu(sel, "Rena&me"));
		
		mm = (IMenuManager) verifyMenu(sel, "CN Test Menu");
		assertNotNull(mm);
		
		assertEquals(4, mm.getItems().length);
		_contentService.getActivationService().deactivateExtensions(
				new String[] { TEST_CONTENT_ACTION_PROVIDER }, false);
		_viewer.setSelection(sel);
		
		assertNotNull(verifyMenu(sel, "Rena&me"));
		
		mm = (IMenuManager) verifyMenu(sel, "CN Test Menu");
		assertNull(mm);
	}
	public void testAppearsBefore() throws Exception {
		IStructuredSelection sel;
		sel = new StructuredSelection(
				((IContainer) _p2.members()[1]).members()[0]);
		_viewer.setSelection(sel);
		MenuManager mm = new MenuManager();
		_actionService.setContext(new ActionContext(sel));
		_actionService.fillContextMenu(mm);