If you use TreeColumnLayout
for the tree layout with TreeViewerColumn
for each column you can then set up the cell editing support using TreeViewerColumn.setEditingSupport
. You provide this with a class derived from EditingSupport
.
EditingSupport
has a getCellEditor(Object element)
method to get the cell editor for the column with the particular element value. So you can return different cell editors for different element.