Bug 303322 Enable view toolbars and menus
bundles/org.eclipse.e4.ui.workbench.renderers.swt/src/org/eclipse/e4/workbench/ui/renderers/swt/StackRenderer.java
MUILabel itemPart = (MUILabel) part;
		CTabFolder ctf = (CTabFolder) stack.getWidget();
		int createFlags = 0;
		CTabItem cti = findItemForPart(stack, part);
		if (cti == null) {
			int index = calcIndexFor(stack, part);
			
			
			cti = new CTabItem(ctf, createFlags, index);
			cti.setData(OWNING_ME, part);
			cti.setText(getLabel(itemPart, itemPart.getLabel()));
			cti.setImage(getImage(itemPart));
			cti.setToolTipText(itemPart.getTooltip());
			Control ctrl = (Control) part.getWidget();
			if (ctrl != null) {
				if (ctrl.getParent() != ctf)
					ctrl.setParent(ctf);
				cti.setControl(ctrl);
			}
			
			
			String cssClassName = (String) ctf
					.getData("org.eclipse.e4.ui.css.CssClassName"); 
			stylingEngine.setClassname(cti, cssClassName);
		}
		
		hookTabControllerLogic(stack, part, cti);
		
		if (stack.getSelectedElement() == null)
			stack.setSelectedElement(part);