Search in sources :

Example 1 with ContainerConfigParamsView_ContainerNameColumn

use of org.guvnor.ala.ui.client.resources.i18n.GuvnorAlaUIConstants.ContainerConfigParamsView_ContainerNameColumn in project kie-wb-common by kiegroup.

the class ContainerConfigParamsView method addNameColumn.

private void addNameColumn() {
    Column<ContainerConfig, String> column = new Column<ContainerConfig, String>(new TextCell()) {

        @Override
        public String getValue(ContainerConfig containerConfig) {
            return containerConfig.getName();
        }
    };
    dataGrid.addColumn(column, translationService.getTranslation(ContainerConfigParamsView_ContainerNameColumn));
}
Also used : ContainerConfigParamsView_ArtifactIdColumn(org.guvnor.ala.ui.client.resources.i18n.GuvnorAlaUIConstants.ContainerConfigParamsView_ArtifactIdColumn) ContainerConfigParamsView_VersionColumn(org.guvnor.ala.ui.client.resources.i18n.GuvnorAlaUIConstants.ContainerConfigParamsView_VersionColumn) ContainerConfigParamsView_GroupIdColumn(org.guvnor.ala.ui.client.resources.i18n.GuvnorAlaUIConstants.ContainerConfigParamsView_GroupIdColumn) ContainerConfigParamsView_ContainerNameColumn(org.guvnor.ala.ui.client.resources.i18n.GuvnorAlaUIConstants.ContainerConfigParamsView_ContainerNameColumn) Column(com.google.gwt.user.cellview.client.Column) TextCell(com.google.gwt.cell.client.TextCell)

Aggregations

TextCell (com.google.gwt.cell.client.TextCell)1 Column (com.google.gwt.user.cellview.client.Column)1 ContainerConfigParamsView_ArtifactIdColumn (org.guvnor.ala.ui.client.resources.i18n.GuvnorAlaUIConstants.ContainerConfigParamsView_ArtifactIdColumn)1 ContainerConfigParamsView_ContainerNameColumn (org.guvnor.ala.ui.client.resources.i18n.GuvnorAlaUIConstants.ContainerConfigParamsView_ContainerNameColumn)1 ContainerConfigParamsView_GroupIdColumn (org.guvnor.ala.ui.client.resources.i18n.GuvnorAlaUIConstants.ContainerConfigParamsView_GroupIdColumn)1 ContainerConfigParamsView_VersionColumn (org.guvnor.ala.ui.client.resources.i18n.GuvnorAlaUIConstants.ContainerConfigParamsView_VersionColumn)1