Skip to content
Snippets Groups Projects
Commit d80470cd authored by buczekp's avatar buczekp
Browse files

[LMS-1908] removed TODO and improved string representation

SVN: 19032
parent b995a761
No related branches found
No related tags found
No related merge requests found
...@@ -64,6 +64,13 @@ public final class LibrarySampleBatchRegistrationForm extends AbstractSampleBatc ...@@ -64,6 +64,13 @@ public final class LibrarySampleBatchRegistrationForm extends AbstractSampleBatc
{ {
return character; return character;
} }
// toString is used in combo box for String representation
@Override
public String toString()
{
return name() + " (" + character + ")";
}
} }
private static final String PLATES = "Plates"; private static final String PLATES = "Plates";
...@@ -150,7 +157,7 @@ public final class LibrarySampleBatchRegistrationForm extends AbstractSampleBatc ...@@ -150,7 +157,7 @@ public final class LibrarySampleBatchRegistrationForm extends AbstractSampleBatc
options.setForceSelection(true); options.setForceSelection(true);
options.setEditable(false); options.setEditable(false);
options.setAllowBlank(false); options.setAllowBlank(false);
options.setSimpleValue(Separator.COMMA); // TODO TAB? display settings? options.setSimpleValue(Separator.COMMA);
FieldUtil.markAsMandatory(options); FieldUtil.markAsMandatory(options);
return options; return options;
} }
......
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