use of org.guvnor.ala.ui.openshift.client.resources.i18n.GuvnorAlaOpenShiftUIConstants.TemplateParamsTableView_ParamNameColumn in project kie-wb-common by kiegroup.
the class TemplateParamsTableView method addParamNameColumn.
private void addParamNameColumn() {
Column<TemplateParam, String> column = new Column<TemplateParam, String>(new TextCell()) {
@Override
public String getValue(TemplateParam templateParam) {
return templateParam.isRequired() ? templateParam.getName() : templateParam.getName();
}
};
dataGrid.addColumn(column, translationService.getTranslation(TemplateParamsTableView_ParamNameColumn));
dataGrid.setColumnWidth(column, 40, Style.Unit.PCT);
}
Aggregations