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
return actionToCheck.getImageDescriptor() != null
				|| actionToCheck.getHoverImageDescriptor() != null
				|| actionToCheck.getDisabledImageDescriptor() != null;
	}
	/**
	 * Returns whether the command corresponding to this action is active.
	 */
	private boolean isCommandActive() {
		IAction actionToCheck = getAction();
		if (actionToCheck != null) {
			String commandId = actionToCheck.getActionDefinitionId();
			ExternalActionManager.ICallback callback = ExternalActionManager
					.getInstance().getCallback();
			if (callback != null) {
				return callback.isActive(commandId);
			}
		}
		return true;
	}
	/**
	 * The action item implementation of this <code>IContributionItem</code>
	 * method returns <code>true</code> for menu items and <code>false</code>
	 * for everything else.
	 */
	public boolean isDynamic() {
		if (widget instanceof MenuItem) {
			
			
			boolean itemIsCheck = (widget.getStyle() & SWT.CHECK) != 0;
			boolean actionIsCheck = getAction() != null