Bug 182714 [Contributions] Improve toolbar configurability
bundles/org.eclipse.jface/src/org/eclipse/jface/action/CoolBarManager.java
* @param contributionList
     *            the current list of conrtributions
     * @param itemLocation
     */
    private void relocate(IContributionItem cbItem, int index,
            ArrayList contributionList, HashMap itemLocation) {
        if (!(itemLocation.get(cbItem) instanceof Integer)) {
			return;
		}
        int targetRow = ((Integer) itemLocation.get(cbItem)).intValue();
        int cbInternalIndex = contributionList.indexOf(cbItem);
        
        int insertAt = contributionList.size();
        
        ListIterator iterator = contributionList.listIterator();
        
        collapseSeparators(iterator);
        int currentRow = -1;
        while (iterator.hasNext()) {
            currentRow++;
            if (currentRow == targetRow) {
                
                int virtualIndex = 0;
                insertAt = iterator.nextIndex();
                
                
                while (iterator.hasNext()) {
                    IContributionItem item = (IContributionItem) iterator
                            .next();
                    Integer itemRow = (Integer) itemLocation.get(item);