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
if (showText && text != null) {
					text = Action.removeAcceleratorText(text);
					text = Action.removeMnemonics(text);
				}
				if (textChanged) {
					String textToSet = showText ? text : ""; 
					boolean rightStyle = (ti.getParent().getStyle() & SWT.RIGHT) != 0;
					if (rightStyle || !ti.getText().equals(textToSet)) {
						
						
						
						
						
						
						ti.setText(textToSet);
					}
				}
				if (imageChanged) {
					
					updateImages(!showText);
				}
				if (tooltipTextChanged || textChanged) {
					String toolTip = action.getToolTipText();
					if ((toolTip == null) || (toolTip.length() == 0)) {
						toolTip = text;
					}
					ExternalActionManager.ICallback callback = ExternalActionManager
							.getInstance().getCallback();
					String commandId = action.getActionDefinitionId();
					if ((callback != null) && (commandId != null)