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

LMS-726 Database Instance column should also be a part of experiment browser view

SVN: 9702
parent 0864b5d9
No related branches found
No related tags found
No related merge requests found
...@@ -56,6 +56,15 @@ public enum CommonExperimentColDefKind implements IColumnDefinitionKind<Experime ...@@ -56,6 +56,15 @@ public enum CommonExperimentColDefKind implements IColumnDefinitionKind<Experime
} }
}), }),
DATABASE_INSTANCE(new AbstractColumnDefinitionKind<Experiment>(Dict.DATABASE_INSTANCE, true)
{
@Override
public String tryGetValue(Experiment entity)
{
return entity.getProject().getGroup().getInstance().getCode();
}
}),
GROUP(new AbstractColumnDefinitionKind<Experiment>(Dict.GROUP, true) GROUP(new AbstractColumnDefinitionKind<Experiment>(Dict.GROUP, true)
{ {
@Override @Override
......
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