Bug 306366 [Model] Allow ModelComponent to contribute KeyBindings to a BindingTable
Currently one can only contribute a complete binding table but is not allowed to contribute a single keybinding.
bundles/org.eclipse.e4.ui.workbench/src/org/eclipse/e4/workbench/ui/internal/ModelExtensionProcessor.java
}
	private void log(String msg, String arg, String arg2) {
		
		
		
		System.err.println(com.ibm.icu.text.MessageFormat.format(msg, new Object[] { arg, arg2 }));
		
		
	}
	private MApplicationElement findElementById(MApplicationElement element, String id) {
		if (id == null || id.length() == 0)
			return null;
		
		if (id.equals(element.getId()))
			return element;
		
		EList<EObject> elements = ((EObject) element).eContents();
		for (EObject childElement : elements) {
			if (!(childElement instanceof MApplicationElement))
				continue;
			MApplicationElement result = findElementById((MApplicationElement) childElement, id);
			if (result != null)
				return result;
		}
		return null;
	}
}