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
try {
		
		ArrayList contributionList = getItemList();
		
		
		if (contributionList.size() == 0) return;
		
		
		CoolItem[] coolItems = coolBar.getItems();
		
		int[] wrapIndicies = getAdjustedWrapIndices(coolBar.getWrapIndices());
		
		int row = 0;
		int lastRow = (wrapIndicies.length - 1);
		int nextRow = row+1;
		int coolItemIndex=0;
		
		
		
		ArrayList displayedItems = new ArrayList(coolBar.getItemCount());
		for (int i=0; i < coolItems.length; i++) {
			CoolItem coolItem = coolItems[i];
			if (coolItem.getData() instanceof IContributionItem) {
				IContributionItem cbItem = (IContributionItem)coolItem.getData();
				displayedItems.add(Math.min(i,displayedItems.size()),cbItem);
			}
		}
		
		
		int offset = 0;