Bug 240363 [Viewers] [open type] Problem with Open Type filtering
bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/AbstractTableViewer.java
Object element = null;
				
				int selectionIndex = selectionIndices[i];
				element = virtualManager.resolveElement(selectionIndex);
				if (element == null) {
					
					Item item = doGetItem(selectionIndex);
					element = item.getData();
				}
				if (element != null) {
					result.add(element);
				}
			}
		}
		return result;
	}
	/**
	 * @param element
	 *            the element to insert
	 * @return the index where the item should be inserted.
	 */
	protected int indexForElement(Object element) {
		ViewerComparator comparator = getComparator();
		if (comparator == null) {
			return doGetItemCount();
		}
		int count = doGetItemCount();
		int min = 0, max = count - 1;
		while (min <= max) {
			int mid = (min + max) / 2;