Bug 182714 [Contributions] Improve toolbar configurability
bundles/org.eclipse.jface/src/org/eclipse/jface/action/CoolBarManager.java
}
        if ((currentElement != null) && (currentElement.isSeparator())) {
            collapseSeparators(iterator);
            return;
        } 
        
        while (iterator.hasNext()) {
            IContributionItem item = (IContributionItem) iterator.next();
            if (item.isSeparator()) {
                
                
                
                collapseSeparators(iterator);
                return;
            }
        }
    }
    /*
     * Used for debuging. Prints all the items in the internal structures.
     */