Bug 325834 Eager activation of Java editor breadcrumbs can cause unpredictable editor scrolling on mouse click
bundles/org.eclipse.e4.ui.workbench.renderers.swt/src/org/eclipse/e4/ui/workbench/renderers/swt/ContributedPartRenderer.java
private MUIElement partToActivate;
	public Object createWidget(final MUIElement element, Object parent) {
		if (!(element instanceof MPart) || !(parent instanceof Composite))
			return null;
		Widget parentWidget = (Widget) parent;
		Widget newWidget = null;
		final Composite newComposite = new Composite((Composite) parentWidget,
				SWT.NONE);
		newComposite.setLayout(new FillLayout(SWT.VERTICAL));
		newWidget = newComposite;
		bindWidget(element, newWidget);
		final MPart part = (MPart) element;
		
		IEclipseContext localContext = part.getContext();
		localContext.set(Composite.class.getName(), newComposite);
		IContributionFactory contributionFactory = (IContributionFactory) localContext
				.get(IContributionFactory.class.getName());
		Object newPart = contributionFactory.create(part.getContributionURI(),
				localContext);