Skip to content
Snippets Groups Projects
Commit 4cc91f19 authored by tpylak's avatar tpylak
Browse files

LMS-2280 ranks - fix column order

SVN: 21789
parent 2d72f680
No related branches found
No related tags found
No related merge requests found
...@@ -24,7 +24,6 @@ import ch.systemsx.cisd.openbis.generic.client.web.server.resultset.AbstractTabl ...@@ -24,7 +24,6 @@ import ch.systemsx.cisd.openbis.generic.client.web.server.resultset.AbstractTabl
import ch.systemsx.cisd.openbis.generic.shared.basic.TechId; import ch.systemsx.cisd.openbis.generic.shared.basic.TechId;
import ch.systemsx.cisd.openbis.generic.shared.basic.dto.CodeAndLabel; import ch.systemsx.cisd.openbis.generic.shared.basic.dto.CodeAndLabel;
import ch.systemsx.cisd.openbis.generic.shared.basic.dto.TypedTableModel; import ch.systemsx.cisd.openbis.generic.shared.basic.dto.TypedTableModel;
import ch.systemsx.cisd.openbis.generic.shared.util.IColumnGroup;
import ch.systemsx.cisd.openbis.generic.shared.util.TypedTableModelBuilder; import ch.systemsx.cisd.openbis.generic.shared.util.TypedTableModelBuilder;
import ch.systemsx.cisd.openbis.plugin.screening.shared.IScreeningServer; import ch.systemsx.cisd.openbis.plugin.screening.shared.IScreeningServer;
import ch.systemsx.cisd.openbis.plugin.screening.shared.basic.dto.ExperimentReference; import ch.systemsx.cisd.openbis.plugin.screening.shared.basic.dto.ExperimentReference;
...@@ -81,14 +80,13 @@ public class MaterialFeatureVectorsFromAllExperimentsProvider extends ...@@ -81,14 +80,13 @@ public class MaterialFeatureVectorsFromAllExperimentsProvider extends
TypedTableModelBuilder<MaterialSimpleFeatureVectorSummary> builder, TypedTableModelBuilder<MaterialSimpleFeatureVectorSummary> builder,
List<MaterialSimpleFeatureVectorSummary> summaries) List<MaterialSimpleFeatureVectorSummary> summaries)
{ {
IColumnGroup columnGroup = builder.columnGroup("FEATURES");
for (MaterialSimpleFeatureVectorSummary summary : summaries) for (MaterialSimpleFeatureVectorSummary summary : summaries)
{ {
for (CodeAndLabel codeAndLabel : summary.getFeatureDescriptions()) for (CodeAndLabel codeAndLabel : summary.getFeatureDescriptions())
{ {
columnGroup.column(getFeatureValueColumnId(codeAndLabel)).withTitle( builder.column(getFeatureValueColumnId(codeAndLabel)).withTitle(
codeAndLabel.getLabel()); codeAndLabel.getLabel());
columnGroup.column(getFeatureRankColumnId(codeAndLabel)).withTitle( builder.column(getFeatureRankColumnId(codeAndLabel)).withTitle(
ScreeningProviderMessages.RANK_COLUMN_MSG); ScreeningProviderMessages.RANK_COLUMN_MSG);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment