1

At first, I wanted to make several columns to contain certain flags for each table row. These flags are represented by images.

Since I would have quite a few columns like these, I figured it would be awesome to have just one column containing all these flags, one after another.

Question: Can I add more than one images/icons in a table cell via a TableLabelProvider, or am I obliged to unify my icons in a single image with all these icons next to eachother.

4

1 回答 1

1

根据 ITableLabelProvider javadoc覆盖Image getColumnImage(Object element, int columnIndex),您将为特定列返回单个图像。所以我认为你应该从所有图像中组装一个图像并返回它。

于 2013-09-17T10:09:52.327 回答