Bug 208099 [Contributions] Toggling logical structure "Show As > Array" has no effect
I20071030 * Using the "Show As >" menu to selectively enable/disable logical structures for specific kinds of objects has no effect 90% of the time. The check mark will usually not toggle on the menu item either. Once and a while the action seems to stick. Strange.
bundles/org.eclipse.jface/src/org/eclipse/jface/action/ActionContributionItem.java
&& (toolTip != null)) {
						String acceleratorText = callback
								.getAcceleratorText(commandId);
						if (acceleratorText != null
								&& acceleratorText.length() != 0) {
							toolTip = JFaceResources.format(
									"Toolbar_Tooltip_Accelerator", 
									new Object[] { toolTip, acceleratorText });
						}
					}
					
					
					if (!showText || toolTip != null && !toolTip.equals(text)) {
						ti.setToolTipText(toolTip);
					} else {
						ti.setToolTipText(null);
					}
				}
				if (enableStateChanged) {
					boolean shouldBeEnabled = action.isEnabled()
							&& isEnabledAllowed();
					if (ti.getEnabled() != shouldBeEnabled) {
						ti.setEnabled(shouldBeEnabled);
					}
				}
				if (checkChanged) {
					boolean bv = action.isChecked();
					if (ti.getSelection() != bv) {
						ti.setSelection(bv);
					}