Bug 106884 Need an index based setSelection for ILazyContentProviders
20050812 It is currently very ineffecient to set a non visible selection in the TableViewer as we cannot look up the items without creating them all. It is possible to use getTable().setSelection() but we should 1) Have an API where you can reveal 2) Implement the selSelection where we give the performance warning and just call super
bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/TableViewer.java
if((style & SWT.VIRTUAL) == 0)
			return;
			
		virtualManager = new VirtualManager();	
	}
	/**
	 * Adds the given elements to this table viewer. If this viewer does not
	 * have a sorter, the elements are added at the end in the order given;
	 * otherwise the elements are inserted at appropriate positions.
	 * <p>
	 * This method should be called (by the content provider) when elements have
	 * been added to the model, in order to cause the viewer to accurately
	 * reflect the model. This method only affects the viewer, not the model.
	 * </p>
	 * 
	 * @param elements
	 *            the elements to add
	 */
	public void add(Object[] elements) {
		assertElementsNotNull(elements);
		Object[] filtered = filter(elements);
		
		for (int i = 0; i < filtered.length; i++) {
			Object element = filtered[i];
			int index = indexForElement(element);
			createItem(element, index);
		}
	}
	/**
	 * Create a new TableItem at index if required.