}
private void finalSelectionMade() {
IndexedSelection selection = itemList.getSelection();
hide();
int index = selection.headIndex();
T object = (index >= 0 ? items[index] : null);
for (ListSelectorWindowListener<T> lst : listeners) {
lst.done(object);
}
}