Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个带有 SWT.MULTI 的表。现在我想获取选定的行。到目前为止,我只有一个选择,并通过选择侦听器获得了选定的行。但是如何获取 SWT.Multi 表的选定行?
谁能帮我?
table.getSelection()返回一个数组TableItems。
table.getSelection()
TableItems