Skip to content
Snippets Groups Projects
Commit efb8267d authored by Cristina Cocho's avatar Cristina Cocho
Browse files

Added microsec and microeV in UnitFormat to have a good display of units in spy.

parent 5cac1ae3
No related branches found
No related tags found
No related merge requests found
X.X.X XX/XX/XXXX
-----
* Added microsec and microeV in UnitFormat to have a good display of units in spy.
4.3.5 25/04/2024
-----
* Use computer full name instead of user name for main client in token manager.
......
......@@ -48,6 +48,8 @@ public class UnitFormat extends PropertyFormat {
formattedUnits.put("cm3", "cm" + SpecialCharacter.superscriptthree);
formattedUnits.put("mm3", "mm" + SpecialCharacter.superscriptthree);
formattedUnits.put("microm", SpecialCharacter.mu + "m");
formattedUnits.put("micros", SpecialCharacter.mu + "s");
formattedUnits.put("microeV", SpecialCharacter.mu + "eV");
unformattedUnits = new HashMap();
......@@ -61,6 +63,8 @@ public class UnitFormat extends PropertyFormat {
unformattedUnits.put("cm" + SpecialCharacter.superscriptthree, "cm3");
unformattedUnits.put("mm" + SpecialCharacter.superscriptthree, "mm3");
unformattedUnits.put(SpecialCharacter.mu + "m", "microm");
unformattedUnits.put(SpecialCharacter.mu + "s", "micros");
unformattedUnits.put(SpecialCharacter.mu + "eV", "microeV");
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment