如何为TreeItem SWT提供黑色边框?

时间:2012-05-02 08:21:36

标签: eclipse-plugin swt eclipse-rcp jface draw2d

我使用TreeColumn创建了包含多个列的Tree。现在我想要实现的是为Tree中的单元格项创建边框单元格。这是我现在的实现: enter image description here

有人知道吗?

1 个答案:

答案 0 :(得分:1)

你的意思是tree.setLinesVisible(true); ?