Iterator iter = sortedWorkingSets.iterator();
mruMenuCount = 0;
while (iter.hasNext()) {
IWorkingSet workingSet = (IWorkingSet) iter.next();
if (workingSet != null) {
IContributionItem item = new WorkingSetMenuContributionItem(
++mruMenuCount, this, workingSet);
menuManager.insertBefore(SEPARATOR_ID, item);
}
}
}