Mercurial > dive4elements > river
diff flys-artifacts/ChangeLog @ 2705:71f072d8b3d8
Improved the MultiIntArrayState, so the clients are able to display human readable strings for parameters and its values.
flys-artifacts/trunk@4422 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Wed, 16 May 2012 10:52:12 +0000 |
parents | d930245c9956 |
children | d8444fcb4e44 |
line wrap: on
line diff
--- a/flys-artifacts/ChangeLog Wed May 16 09:18:10 2012 +0000 +++ b/flys-artifacts/ChangeLog Wed May 16 10:52:12 2012 +0000 @@ -1,3 +1,20 @@ +2012-05-16 Ingo Weinzierl <ingo@intevation.de> + + * src/main/java/de/intevation/flys/artifacts/states/MultiIntArrayState.java: + Add a 'label' attribute to each <data> element in the static DESCRIBE. + In addition to that, the <data> element created in this class can have + multiple <item> elements which consist of a 'value' and a 'label' + attribute. This 'label' attribute is taken from getLabelFor() which is + abstract and needs to be implemented by subclasses. + + * src/main/java/de/intevation/flys/artifacts/states/DischargeState.java: + Implemented the abstract method getLabelFor(). + + * src/main/resources/messages.properties, + src/main/resources/messages_de_DE.properties, + src/main/resources/messages_de.properties: New i18n strings for MINFO + parameter names. + 2012-05-16 Ingo Weinzierl <ingo@intevation.de> * src/main/resources/messages.properties,