Bug 7235 [Contributions] Need dispose() for action delegates
bundles/org.eclipse.jface/src/org/eclipse/jface/action/ToolBarManager.java
/**
 * Returns the tool bar control for this manager.
 *
 * @return the tool bar control, or <code>null</code>
 *  if none (before creating or after disposal)
 */
public ToolBar getControl() {
	return toolBar;
}
/**
 * Re-lays out the tool bar.
 * <p>
 * The default implementation of this framework method re-lays out
 * the parent when the number of items crosses the zero threshold. 
 * Subclasses should override this method to implement their own 
 * re-layout strategy
 *
 * @param toolBar the tool bar control
 * @param oldCount the old number of items
 * @param newCount the new number of items
 */
protected void relayout(ToolBar toolBar, int oldCount, int newCount) {
	if ((oldCount == 0) != (newCount == 0))
		toolBar.getParent().layout();
}
/**
 * Returns whether the tool bar control is created
 * and not disposed.
 * 
 * @return <code>true</code> if the control is created