Bug 261037 bindWidget calls
bundles/org.eclipse.e4.ui.workbench/src/org/eclipse/e4/workbench/ui/renderers/swt/StackModelFactory.java
if (image != null)
							item.setImage(image);
					}
				}
			}
		});
	}
	@Override
	public void childRemoved(Part<?> parentElement, Part<?> child) {
		super.childRemoved(parentElement, child);
		CTabFolder ctf = (CTabFolder) parentElement.getWidget();
		CTabItem oldItem = findItemForPart(parentElement, child);
		if (oldItem != null) {
			oldItem.setControl(null); 
			oldItem.dispose();
		}
	}
	@Override
	public void hookControllerLogic(final Part<?> me) {
		super.hookControllerLogic(me);
		final Stack sm = (Stack) me;
		
		
		CTabFolder ctf = (CTabFolder) me.getWidget();
		ctf.addSelectionListener(new SelectionListener() {
			public void widgetDefaultSelected(SelectionEvent e) {
			}
			public void widgetSelected(SelectionEvent e) {
				ItemPart<?> newPart = (ItemPart<?>) e.item.getData(OWNING_ME);
				if (sm.getActiveChild() != newPart)