Bug 279452 [Compatibility] Parameterized command mechanism support
Parameterized commands like showView need to be able to access their parameters (like the view ID) PW
bundles/org.eclipse.e4.ui.workbench.renderers.swt/src/org/eclipse/e4/workbench/ui/renderers/swt/HandledContributionItem.java
}
							});
						}
					} else if (ApplicationPackage.Literals.MMENU_ITEM__VISIBLE
							.equals(msg.getFeature())) {
						updateVisible();
					}
				}
			};
			model.eAdapters().add(modelListener);
		}
	}
	private void updateVisible() {
		if (model instanceof MMenuItem) {
			setVisible(((MMenuItem) model).isVisible());
			final IContributionManager parent = getParent();
			if (parent != null) {
				parent.markDirty();
			}
		}
	}
	/*
	 * (non-Javadoc)
	 * 
	 * @see org.eclipse.jface.action.ContributionItem#update()
	 */
	@Override
	public void update() {
		update(null);
	}