Bug 48604 Loss of old cool bar layout
Openning an old workspce in any integration build after I20031210 will cause pre-existing cool bar layout(cool item order) to be erased. The user will need to re-customize the cool bar layouts on each perspective to ensure its persistance when eclipse is shutdown.
bundles/org.eclipse.jface/src/org/eclipse/jface/action/CoolBarManager.java
if (data != null && data.equals(item)) return coolItem;
		}
		return null;
	}
	
	
	/**
	 * Disposes the given cool item.
	 * 
	 * @param item the cool item to dispose
	 */
	private void dispose(CoolItem item) {
		if ((item != null) && !item.isDisposed()) {
			
			item.setData(null);
			Control control = item.getControl();
			
			
			
			if ((control != null) && !control.isDisposed()) {
				item.setControl(null);
			}
			item.dispose();
		}
	}
	/**
	 * Subclasses may extend this <code>ContributionManager</code> method, but
	 * must call <code>super.itemRemoved</code>.
	 * 
	 * @see org.eclipse.jface.action.ContributionManager#itemRemoved(org.eclipse.jface.action.IContributionItem)