if (first != null && owner instanceof HasRefreshableUI) {
if (first instanceof HasOwner) {
HasOwner ho = (HasOwner) first;
first = ho.getOwner();
}
HasRefreshableUI hr = (HasRefreshableUI) owner;
Selections.setSingleSelection(hr.getRefreshableUI(), first);
}
}
});
}