Bug 55592 [Contributions] SubActionBars does not properly handle menu listeners
bundles/org.eclipse.jface/src/org/eclipse/jface/action/SubContributionManager.java
/* (non-Javadoc)
	 * Method declared on IContributionManager.
	 */
	public IContributionItem remove(IContributionItem item) {
		SubContributionItem wrap = (SubContributionItem) mapItemToWrapper.get(item);
		if (wrap == null)
			return null;
		IContributionItem result = parentMgr.remove(wrap);
		if (result == null)
			return null;
		itemRemoved(item);
		return item;
	}
	/* (non-Javadoc)
	 * Method declared on IContributionManager.
	 */
	public void removeAll() {
		Iterator enum = mapItemToWrapper.values().iterator();
		while (enum.hasNext()) {
			IContributionItem item = (IContributionItem) enum.next();
			parentMgr.remove(item);
		}
		mapItemToWrapper.clear();
	}
	/**
	 * Sets the visibility of the manager.  If the visibility is <code>true</code>
	 * then each item within the manager appears within the parent manager.
	 * Otherwise, the items are not visible.
	 *
	 * @param visible the new visibility