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 ((foundItem == null) || (!foundItem.isVisible())) {	
							
							dispose(coolItem);
							changed = true;
						}
						
					}
					
					
					int numRows = getNumRows(contributionItems)-1;
					int[] wrapIndicies = new int[numRows];
					int j = 0;
					boolean foundSeparator = false;
					for (int i=0; i < contributionItems.length; i++) {
						IContributionItem item = contributionItems[i];
						CoolItem coolItem = findCoolItem(item);
						if (item.isSeparator()) {
							foundSeparator = true;
						}
						if ((!item.isSeparator()) && (!item.isGroupMarker()) && (item.isVisible()) && (coolItem != null) && (foundSeparator)) {
							wrapIndicies[j] = coolBar.indexOf(coolItem);
							j++;
							foundSeparator=false;
						}
					}
					
					coolBar.setWrapIndices(wrapIndicies);