bodyDataLayer.setConfigLabelAccumulator(new IConfigLabelAccumulator() {
@Override
public void accumulateConfigLabels(LabelStack configLabels, int columnPosition, int rowPosition) {
- if (columnPosition == 0) {
+ if (bodyDataProvider.isCheckBoxColumn(columnPosition)) {
configLabels.addLabel(CHECK_BOX_LABEL);
} else if (validationResult != null && keyName != null) {
int keyColumn = bodyDataProvider.getVariableIndex(keyName);
new EditableRule() {
@Override
public boolean isEditable(int columnIndex, int rowIndex) {
- return columnIndex == 0;
+ return bodyDataProvider.isEditable(columnIndex, rowIndex);
}
});
super.dispose();
}
+ public Resource getComponentType() {
+ return this.componentType;
+ }
+
public void setComponentType(Resource componentType) {
if (Objects.equals(this.componentType, componentType))
return;