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/StackRenderer.java
if (!(objElement instanceof MUILabel)
						|| !(objElement instanceof MUIElement))
					return;
				
				MUIElement uiElement = (MUIElement) objElement;
				MUILabel modelItem = (MUILabel) objElement;
				
				MElementContainer<MUIElement> parent = uiElement.getParent();
				if (!(parent.getRenderer() == StackRenderer.this))
					return;
				
				MElementContainer<MUIElement> stack = uiElement.getParent();
				CTabItem item = findItemForPart(stack, uiElement);
				if (item == null)
					return;
				String attName = (String) event
						.getProperty(UIEvents.EventTags.ATTNAME);
				if (UIEvents.UILabel.LABEL.equals(attName)) {
					String newName = (String) event
							.getProperty(UIEvents.EventTags.NEW_VALUE);
					item.setText(getLabel((MPart) uiElement, newName));
				} else if (UIEvents.UILabel.ICONURI.equals(attName)) {
					item.setImage(getImage(modelItem));
				} else if (UIEvents.UILabel.TOOLTIP.equals(attName)) {
					String newTTip = (String) event
							.getProperty(UIEvents.EventTags.NEW_VALUE);
					item.setToolTipText(newTTip);
				}
			}
		};