Mercurial > dive4elements > river
diff flys-client/src/main/java/de/intevation/flys/client/client/ui/MultipleLocationPanel.java @ 3493:e703555f8da1
Issue 752.
Added new i18n string for single location input panel.
flys-client/trunk@5209 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Wed, 15 Aug 2012 12:56:07 +0000 |
parents | 51ed89b754ae |
children | 091397efaca5 |
line wrap: on
line diff
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/MultipleLocationPanel.java Wed Aug 15 12:11:41 2012 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/MultipleLocationPanel.java Wed Aug 15 12:56:07 2012 +0000 @@ -86,7 +86,7 @@ } catch(java.util.MissingResourceException mre) { GWT.log("Cannot find translation for data item name : " + getDataItemName()); - labelString = MSG.location(); + labelString = getLabelString(); } Label label = new Label(labelString); Canvas widget = createWidget(data); @@ -317,5 +317,13 @@ } setLocationValues(selected); } + + /** + * Returns the label string for the input panel. + */ + protected String getLabelString() { + return MSG.location(); + } + } // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :