Bug 277676 [UI] The workbench should create the contexts
The workbench should create contexts for the model elements, MApplication and MParts (windows, sashes, contributed parts, etc). This is not really the responsibility of the renderers. PW
bundles/org.eclipse.e4.ui.workbench.renderers.swt/src/org/eclipse/e4/workbench/ui/renderers/swt/StackModelFactory.java
}
			}, ""); 
		}
		return newWidget;
	}
	public void postProcess(MPart<?> part) {
		if (!(part instanceof MStack))
			return;
		CTabFolder ctf = (CTabFolder) part.getWidget();
		CTabItem[] items = ctf.getItems();
		MPart<?> selPart = ((MStack) part).getActiveChild();
		
		if (selPart == null && part.getChildren().size() > 0) {
			((MStack) part).setActiveChild((MItemPart<?>) part.getChildren()
					.get(0));
			
		} else {
			for (int i = 0; i < items.length; i++) {
				MPart<?> me = (MPart<?>) items[i].getData(OWNING_ME);
				if (selPart == me) {
					
					if (items[i].getControl() == null)
						renderer.createGui(selPart);
					ctf.setSelection(items[i]);
				}
			}
		}
	}
	@Override
	public void childAdded(final MPart<?> parentElement, MPart<?> element) {