Bug 300173 Reorder of items in ToolBar and Menu doesn't reflect in Renderer
When we DnD of ToolItem or MenuItem in outline of e4 Designer, the designer refreshes with a wrong result. For example, if we have two items: Open and Save in order. When we change the order to Save and Open by moving Save, in Renderer we have only Open.
bundles/org.eclipse.e4.ui.workbench.renderers.swt/src/org/eclipse/e4/workbench/ui/renderers/swt/SWTPartRenderer.java
public void processContents(MElementContainer<MUIElement> container) {
		
		if (container == null)
			return;
		
		EList<MUIElement> parts = container.getChildren();
		if (parts != null) {
			for (Iterator<MUIElement> childIter = parts.iterator(); childIter
					.hasNext();) {
				MUIElement childME = childIter.next();
				IPresentationEngine renderer = (IPresentationEngine) context
						.get(IPresentationEngine.class.getName());
				renderer.createGui(childME);
			}
		}
	}
	public void bindWidget(MUIElement me, Object widget) {
		me.setWidget(widget);
		((Widget) widget).setData(OWNING_ME, me);
		me.setRenderer(this);
		final IStylingEngine engine = (IStylingEngine) getContext(me).get(
				IStylingEngine.SERVICE_NAME);
		engine.setId(widget, me.getId()); 
		Widget swtWidget = (Widget) widget;
		swtWidget.addDisposeListener(new DisposeListener() {
			public void widgetDisposed(DisposeEvent e) {
			}