* Gets the current selection in the combo.
*
* @return the current selection in the combo box or null if no item is selected.
*/
public String selection() {
return syncExec(new StringResult() {
public String run() {
int selectionIndex = widget.getSelectionIndex();
if (selectionIndex == -1)
return null;
return widget.getItem(selectionIndex);