Sets the receiver's selection to be the given array of items.
The current selection is cleared before the new items are selected.
<p>
Items that are not in the receiver are ignored.
If the receiver is single-select and multiple items are specified,
then all items are ignored.
</p>
@param items the array of items
@exception IllegalArgumentException <ul>
<li>ERROR_INVALID_ARGUMENT - if one of the items has been disposed</li>
</ul>
@exception SWTException <ul>
<li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
<li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
</ul>
Sets the receiver's selection to be the given array of items. The current selection is cleared before the new items are selected. <p> Items that are not in the receiver are ignored. If the receiver is single-select and multiple items are specified, then all items are ignored. </p>
@param items the array of items
@exception IllegalArgumentException <ul> <li>ERROR_INVALID_ARGUMENT - if one of the items has been disposed</li> </ul> @exception SWTException <ul> <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li> <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li> </ul>
@see Tree#deselectAll()