我有一个带有几列的 TableViewer。有些字段内容较多 渴望田野。因此我想当用户打开一个对话框 双击该字段。
谁能给我提示吗?
提前致谢,
最佳答案
您应该使用MouseEvent
来捕获事件。然后使用
if (e.getClickCount() == 2) { // MouseEvent e in the parameter.
// show the dialoge
}
关于java - 在 TableViewer 中双击打开一个对话框,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24279716/