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.
bundles/org.eclipse.ui.navigator/src/org/eclipse/ui/internal/navigator/extensions/NavigatorViewerDescriptor.java
NavigatorPlugin.logError(0, NLS.bind(
					CommonNavigatorMessages.Too_many_elements_Warning,
					new Object[] {
							TAG_INCLUDES,
							element.getDeclaringExtension()
									.getUniqueIdentifier(),
							element.getDeclaringExtension().getNamespaceIdentifier() }),
					null);
		}
		IConfigurationElement[] excludesElement = element
				.getChildren(TAG_EXCLUDES);
		if (excludesElement.length == 1) {
			if (isContent) {
				contentBinding.consumeExcludes(excludesElement[0]);
			} else {
				actionBinding.consumeExcludes(excludesElement[0]);
			}
		} else if (excludesElement.length >= 1) {
			NavigatorPlugin.logError(0, NLS.bind(
					CommonNavigatorMessages.Too_many_elements_Warning,
					new Object[] {
							TAG_EXCLUDES,
							element.getDeclaringExtension()
									.getUniqueIdentifier(),
							element.getDeclaringExtension().getNamespaceIdentifier() }),
					null);
		}
	}
}