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/MenuItemRenderer.java
@Inject
	Logger logger;
	@Inject
	IEventBroker eventBroker;
	private EventHandler itemUpdater;
	@PostConstruct
	public void init() {
		itemUpdater = new EventHandler() {
			public void handleEvent(Event event) {
				
				if (!(event.getProperty(UIEvents.EventTags.ELEMENT) instanceof MMenuItem))
					return;
				MMenuItem itemModel = (MMenuItem) event
						.getProperty(UIEvents.EventTags.ELEMENT);
				MenuItem menuItem = (MenuItem) itemModel.getWidget();
				
				if (menuItem == null)
					return;
				String attName = (String) event
						.getProperty(UIEvents.EventTags.ATTNAME);
				if (UIEvents.UILabel.LABEL.equals(attName)) {
					setItemText(itemModel, menuItem);
				} else if (UIEvents.UILabel.ICONURI.equals(attName)) {
					menuItem.setImage(getImage(itemModel));