Bug 7235 [Contributions] Need dispose() for action delegates
bundles/org.eclipse.jface/src/org/eclipse/jface/action/SubMenuManager.java
if (isVisible())
		parentMgr.fill(parent, index);
}
/* (non-Javadoc)
 * Method declared on IMenuManager.
 */
/**
 * <p>
 * The menu returned is wrapped within a <code>SubMenuManager</code> to
 * monitor additions and removals.  If the visibility of this menu is modified
 * the visibility of the submenus is also modified.
 * </p>
 */
public IMenuManager findMenuUsingPath(String path) {
	IContributionItem item = findUsingPath(path);
	if (item instanceof IMenuManager) {
		return (IMenuManager)item;
	}
	return null;
}
/* (non-Javadoc)
 * Method declared on IMenuManager.
 *
 * Returns the item passed to us, not the wrapper.
 *
 * We use use the same algorithm as MenuManager.findUsingPath, but unwrap
 * submenus along so that SubMenuManagers are visible.
 */
public IContributionItem findUsingPath(String path) {
	String id = path;