Bug 7235 [Contributions] Need dispose() for action delegates
bundles/org.eclipse.jface/src/org/eclipse/jface/action/SubMenuManager.java
package org.eclipse.jface.action;
/*
 * (c) Copyright IBM Corp. 2000, 2001.
 * All Rights Reserved.
 */
import java.util.*;
import org.eclipse.jface.util.Assert;
import org.eclipse.swt.widgets.*;
/**
 * A <code>SubMenuManager</code> is used to define a set of contribution
 * items within a parent manager.  Once defined, the visibility of the entire set can 
 * be changed as a unit.
 * <p>
 * A client may ask for and make additions to a submenu.  The visibility of these items
 * is also controlled by the visibility of the <code>SubMenuManager</code>.
 * </p>
 */
public class SubMenuManager extends SubContributionManager implements IMenuManager {