Bug 261852 [context] Separate code into API / SPI / internal
bundles/org.eclipse.e4.ui.workbench/src/org/eclipse/e4/workbench/ui/renderers/swt/PartFactory.java
this.renderer = renderer;
		this.contributionFactory = contributionFactory;
		this.context = context;
	}
	
	public abstract Object createWidget(Part<?> element);
	public <P extends Part<?>> void processContents(Part<P> me) {
		Widget parentWidget = getParentWidget(me);
		if (parentWidget == null)
			return;
		
		
		List<P> parts = me.getChildren();
		if (parts != null) {
			for (Iterator<P> childIter = parts.iterator(); childIter
					.hasNext();) {
				Part<?> childME = childIter.next();
				renderer.createGui(childME);
			}
		}
	}
	
	public void postProcess(Part<?> childME) {
	}
	public void bindWidget(Part<?> me, Object widget) {
		me.setWidget(widget);
		((Widget)widget).setData(OWNING_ME, me);
	}
	protected Widget getParentWidget(Part<?> element) {
		return (element.getParent() instanceof Part) ?