Bug 6308 Open type dialog should trim entered value
Leading and trailing spaces should be ignored in the input field of this dialog
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/FilteredList.java
if (fList.isDisposed())
			return;
			
		fList.setRedraw(false);
		
		
		int itemCount= fList.getItemCount();
		if (fFoldedCount < itemCount)
			fList.remove(0, itemCount - fFoldedCount - 1);
		else if (fFoldedCount > itemCount)
			for (int i= 0; i != fFoldedCount - itemCount; i++)
				new TableItem(fList, SWT.NONE);
		
		TableItem[] items= fList.getItems();
		for (int i= 0; i != fFoldedCount; i++) {
			TableItem item= items[i];
			Label label= fLabels[fFilteredIndices[fFoldedIndices[i]]];
			
			item.setText(label.string);
			item.setImage(label.image);
		}
		
		if (fList.getItemCount() > 0)
			fList.setSelection(0);
			
		fList.setRedraw(true);		
		fList.notifyListeners(SWT.Selection, new Event());
	}
	
}