use of org.guvnor.ala.ui.openshift.client.resources.i18n.GuvnorAlaOpenShiftUIConstants.TemplateParamsTableView_ParamValueColumn in project kie-wb-common by kiegroup.
the class TemplateParamsTableView method addParamValueColumn.
private void addParamValueColumn() {
final Column<TemplateParam, String> column = new Column<TemplateParam, String>(new EditTextCell()) {
@Override
public String getValue(TemplateParam templateParam) {
if (templateParam.getValue() != null) {
return templateParam.getValue();
} else {
return EMPTY_STRING;
}
}
};
column.setFieldUpdater(new ParamValueFieldUpdater((EditTextCell) column.getCell()));
dataGrid.addColumn(column, translationService.getTranslation(TemplateParamsTableView_ParamValueColumn));
dataGrid.setColumnWidth(column, 55, Style.Unit.PCT);
}
Aggregations