Bug 306738 Renderer does not synchronize ToolItem selection state with MToolItem
Build: I20100318-2100 I have an app with an MToolBar defining a set of tool items of type "radio". When I select a different tool item, the button states change. Upon quitting the application, however, the change of state is not written to the delta. As a result, when running the application again, the toolbar item states are not what they should be.
bundles/org.eclipse.e4.ui.workbench.renderers.swt/src/org/eclipse/e4/workbench/ui/renderers/swt/ToolItemRenderer.java
ParameterizedCommand cmd = handledItem.getWbCommand();
			if (cmd == null) {
				cmd = generateParameterizedCommand(handledItem, context);
			}
			TriggerSequence sequence = bs.getBestSequenceFor(handledItem
					.getWbCommand());
			if (sequence != null) {
				text = text + '\t' + sequence.format();
			}
			item.setText(text);
		} else {
			if (text == null) {
				text = ""; 
			}
			item.setText(text);
		}
	}
	public Object createWidget(final MUIElement element, Object parent) {
		if (!(element instanceof MToolItem) || !(parent instanceof ToolBar))
			return null;
		ToolBar tb = (ToolBar) parent;
		MToolItem itemModel = (MToolItem) element;
		
		int addIndex = calcVisibleIndex(element);
		if (itemModel.getType() == ItemType.SEPARATOR) {
			return new ToolItem(tb, SWT.SEPARATOR, addIndex);
		}
		
		int flags = itemModel.getChildren().size() > 0 ? SWT.DROP_DOWN : 0;
		if (itemModel.getType() == ItemType.PUSH)