문제

I created tableviewer ( jface )

In my logic I have TableItem and I need to find the row of the tableItem in the tableViewer.

How I can do it ?

도움이 되었습니까?

해결책

Use TableViewer.getTable() to get the Table and then use Table.indexOf(tableItem) to get the index.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top