String id = (String) i.next();
// Look for the object in the current cool bar manager
IContributionItem oldItem = null;
IContributionItem newItem = null;
if (id != null) {
oldItem = coolBarMgr.find(id);
}
// If a tool bar contribution item already exists for this id
// then use the old object
if (oldItem instanceof IToolBarContributionItem) {
newItem = oldItem;