↑はswingのだった
SWTでは Table#indexOf(Table#getItem(Point))
クリックした行に何かするなら
TableにSelectionListenerを登録して Table#getSelectionIndex() とした方が簡単