Bug 264256 [CSS] Need margins
Build ID: M1 Steps To Reproduce: This code is a problem because it expects there to be a FillLayout on the parent if(property.equals("border-width")) { ((FillLayout) parent.getLayout()).marginWidth = pixelValue; }
bundles/org.eclipse.e4.ui.workbench.renderers.swt/src/org/eclipse/e4/workbench/ui/renderers/swt/SWTPartFactory.java
fakeManager.add(renderer);
			parentMenu.addListener(SWT.Show, new Listener() {
				public void handleEvent(Event event) {
					final MenuItem[] items = parentMenu.getItems();
					int idx = 0;
					for (; idx < items.length && items[idx] != newMenuItem; idx++)
						;
					idx++;
					for (int i = idx; i < items.length
							&& !(items[i].getData() instanceof MHandledItem); i++) {
						items[i].dispose();
					}
					final IMenuListener[] array = fakeListeners
							.toArray(new IMenuListener[fakeListeners.size()]);
					for (IMenuListener im : array) {
						im.menuAboutToShow(fakeManager);
					}
					renderer.fill(parentMenu, idx);
				}
			});
			return;
		}
		if (handledItem instanceof MMenuItem) {
			final MMenuItem mItem = (MMenuItem) handledItem;
			if (mItem.isSeparator()) {
				if (!mItem.isVisible()) {
					return;
				}
				style = SWT.SEPARATOR;
			} else if (mItem.getMenu() != null) {