Sets the receiver's selection to the given item.
The current selected is first cleared, then the new item is
selected.
@param item the item to select
@exception IllegalArgumentException <ul>
<li>ERROR_NULL_ARGUMENT - if the item is null</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 the given item. The current selected is first cleared, then the new item is selected.
@param item the item to select
@exception IllegalArgumentException <ul> <li>ERROR_NULL_ARGUMENT - if the item is null</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>
@since 3.2