Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/dart/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Eclipse plugin 将DelegatingStyledCellLabelProvider与ITableLabelProvider一起使用_Eclipse Plugin_Swt_Tableviewer - Fatal编程技术网

Eclipse plugin 将DelegatingStyledCellLabelProvider与ITableLabelProvider一起使用

Eclipse plugin 将DelegatingStyledCellLabelProvider与ITableLabelProvider一起使用,eclipse-plugin,swt,tableviewer,Eclipse Plugin,Swt,Tableviewer,我正在尝试设置表中具有特定属性的特定单元格的样式。我过去使用过DelegatingStyledCellLabelProvider作为树结构,希望在这里也能这样做 然而,我不知道如何让它与我的ITableLabelProvider一起工作 我看到类似的问题建议使用IColumLabelProviders而不是ITableLabelProvider,但我真的不想回去更改代码 有什么我可以做的吗?DelegatingStyledCellLabelProvider无法与旧式的ITableLabelPro

我正在尝试设置表中具有特定属性的特定单元格的样式。我过去使用过DelegatingStyledCellLabelProvider作为树结构,希望在这里也能这样做

然而,我不知道如何让它与我的ITableLabelProvider一起工作

我看到类似的问题建议使用IColumLabelProviders而不是ITableLabelProvider,但我真的不想回去更改代码


有什么我可以做的吗?

DelegatingStyledCellLabelProvider
无法与旧式的
ITableLabelProvider一起使用,因为它不支持多列。您必须使用单独的列标签提供程序。

ITableLabelProvider被视为“旧式”?我的印象是使用它更好。是的,它早于独立柱支架。