*/
protected ArrayList filterResults(List toFilter) {
ArrayList matches = new ArrayList();
for (Iterator iterator = toFilter.iterator(); iterator.hasNext();) {
IWorkbenchPartReference workbenchPart = (IWorkbenchPartReference) iterator.next();
if (workbenchPart.getPartName().equals(text))
matches.add(workbenchPart);
}
return matches;
}