NULL 博文链接:https://arizona.iteye.com/blog/526298
2021-12-21 18:58:59 16KB 源码 工具
1
点击Enter键,对TableViewer的单元格进行逐个遍历的辅助类,推荐用于使用ViewerColumn.setEditingSupport的可编辑TableViewer。 Since 3.3, an alternative API is available, see ViewerColumn.setEditingSupport(EditingSupport) for a more flexible way of editing values in a column viewer. 从3.3开始,tableViewer.setCellEditors(editors)的方式有了更好的替代方式ViewerColumn.setEditingSupport,这种方法确实比之前的方法更便捷好用。但是,用了这种方法CellEditors无法直接得到,因此,以前的给CellEditor加监听器从而进行单元格遍历的方法无法使用了。所以我改写了该类,从而支持ViewerColumn.setEditingSupport的方法。 如果有bug,请站内短信Call我,谢谢!
2021-12-21 18:36:43 6KB JFace TableViewer TableCursor 单元格遍历
1