Bug 261037 bindWidget calls
bundles/org.eclipse.e4.ui.workbench/src/org/eclipse/e4/workbench/ui/renderers/swt/StackModelFactory.java
CTabFolder ctf = (CTabFolder) part.getWidget();
		CTabItem[] items = ctf.getItems();
		Part<?> selPart = ((Stack) part).getActiveChild();
		
		if (selPart == null && part.getChildren().size() > 0) {
			((Stack) part).setActiveChild((ItemPart<?>) part.getChildren().get(
					0));
			
		} else {
			for (int i = 0; i < items.length; i++) {
				Part<?> me = (Part<?>) items[i].getData(OWNING_ME);
				if (selPart == me)
					ctf.setSelection(items[i]);
			}
		}
	}
	@Override
	public void childAdded(Part<?> parentElement, Part<?> element) {
		super.childAdded(parentElement, element);
		if (element instanceof ItemPart<?>) {
			ItemPart<?> itemPart = (ItemPart<?>) element;
			CTabFolder ctf = (CTabFolder) parentElement.getWidget();
			int createFlags = 0;
			
			createFlags = createFlags | SWT.CLOSE;
			CTabItem cti = findItemForPart(parentElement, element);
			if (cti == null)
				cti = new CTabItem(ctf, createFlags);
			cti.setData(OWNING_ME, element);
			cti.setText(itemPart.getName());