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
/**
	 * Returns the selection of the list.
	 * This is a convenience function for <code>getSelectionIndices()</code>.
	 * @return returns the index of the selection, -1 for no selection.
	 */
	public int getSelectionIndex() {
		return fList.getSelectionIndex();		
	}
	
	/**
	 * Sets the selection of the list.
	 * @param elements the array of elements to be selected.
	 */
	public void setSelection(Object[] elements) {
		if ((elements == null) || (fElements == null))
			return;			
		
		
		int[] indices= new int[elements.length];
		for (int i= 0; i != elements.length; i++) {
			int j;			
			for (j= 0; j != fFoldedCount; j++) {
				int max= (j == fFoldedCount - 1)
					? fFilteredCount
					: fFoldedIndices[j + 1];
				int l;					
				for (l= fFoldedIndices[j]; l != max; l++) {
					
					if (fElements[fFilteredIndices[l]].equals(elements[i])) {