Bug 312077 MToolControls aren't rendered on MacOS X
Build: HEAD 2010/05/05 @ 7am I was trying out to add a MToolControl to discover that WorkbenchRendererFactory is missing a tool control renderer. Implementation to follow.
bundles/org.eclipse.e4.ui.workbench.renderers.swt/src/org/eclipse/e4/workbench/ui/renderers/swt/ToolControlRenderer.java
public Object createWidget(final MUIElement element, Object parent) {
		if (!(element instanceof MToolControl)
				|| !(parent instanceof Composite))
			return null;
		MToolControl toolControl = (MToolControl) element;
		Widget parentWidget = (Widget) parent;
		IEclipseContext parentContext = getContextForParent(element);
		final Composite newComposite = new Composite((Composite) parentWidget,
				SWT.NONE);
		newComposite.setLayout(new FillLayout());
		
		IEclipseContext localContext = parentContext.createChild("TrimControl"); 
		IContributionFactory contributionFactory = (IContributionFactory) localContext
				.get(IContributionFactory.class.getName());
		localContext.set(Composite.class.getName(), newComposite);
		localContext.set(MToolControl.class.getName(), toolControl);
		Object tcImpl = contributionFactory.create(
				toolControl.getContributionURI(), localContext);
		toolControl.setObject(tcImpl);
		return parentWidget;
	}
}