changeset 86:eae92a05282e

Added a further plugin in the module selection and changed its alignment to vertical. flys-client/trunk@1596 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Mon, 28 Mar 2011 16:20:45 +0000
parents d327cff11848
children c8cd1b918901
files flys-client/ChangeLog flys-client/src/main/java/de/intevation/flys/client/client/FLYSMessages.java flys-client/src/main/java/de/intevation/flys/client/client/FLYSMessages_de.properties flys-client/src/main/java/de/intevation/flys/client/client/FLYSMessages_en.properties flys-client/src/main/java/de/intevation/flys/client/client/ui/ModuleSelection.java
diffstat 5 files changed, 25 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/flys-client/ChangeLog	Mon Mar 28 16:11:44 2011 +0000
+++ b/flys-client/ChangeLog	Mon Mar 28 16:20:45 2011 +0000
@@ -1,3 +1,14 @@
+2011-03-28  Ingo Weinzierl <ingo@intevation.de>
+
+	* src/main/java/de/intevation/flys/client/client/FLYSMessages_en.properties,
+	  src/main/java/de/intevation/flys/client/client/FLYSMessages_de.properties,
+	  src/main/java/de/intevation/flys/client/client/FLYSMessages.java:
+	  Modified existing string and added a new one.
+
+	* src/main/java/de/intevation/flys/client/client/ui/ModuleSelection.java:
+	  Added a further radio button for a plugin and changed the alignment of
+	  the radio button to vertical.
+
 2011-03-28  Ingo Weinzierl <ingo@intevation.de>
 
 	* src/main/java/de/intevation/flys/client/client/ui/ChartOutputTab.java:
--- a/flys-client/src/main/java/de/intevation/flys/client/client/FLYSMessages.java	Mon Mar 28 16:11:44 2011 +0000
+++ b/flys-client/src/main/java/de/intevation/flys/client/client/FLYSMessages.java	Mon Mar 28 16:20:45 2011 +0000
@@ -62,9 +62,12 @@
     @DefaultMessage("MINFO")
     String minfo();
 
-    @DefaultMessage("Map")
+    @DefaultMessage("New Map")
     String map();
 
+    @DefaultMessage("New Chart")
+    String chart();
+
     @DefaultMessage("TODO FIX ANALYSE TODO")
     String fix();
 
--- a/flys-client/src/main/java/de/intevation/flys/client/client/FLYSMessages_de.properties	Mon Mar 28 16:11:44 2011 +0000
+++ b/flys-client/src/main/java/de/intevation/flys/client/client/FLYSMessages_de.properties	Mon Mar 28 16:20:45 2011 +0000
@@ -16,7 +16,8 @@
 river_selection = Flüsse
 winfo = WINFO
 minfo = MINFO
-map = Karte
+map = Neue Karte
+chart = Neues Diagramm
 fix = Fixierungsanalyse
 next = Weiter
 location_distance_state = Berechnungsort/strecke wählen
--- a/flys-client/src/main/java/de/intevation/flys/client/client/FLYSMessages_en.properties	Mon Mar 28 16:11:44 2011 +0000
+++ b/flys-client/src/main/java/de/intevation/flys/client/client/FLYSMessages_en.properties	Mon Mar 28 16:20:45 2011 +0000
@@ -16,7 +16,8 @@
 river_selection = Rivers
 winfo = WINFO
 minfo = MINFO
-map = Map
+map = New Map
+chart = New Chart
 fix = TODO FIX ANALYSE TODO
 next = Next
 location_distance_state = Choose calculation location/distance
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/ModuleSelection.java	Mon Mar 28 16:11:44 2011 +0000
+++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/ModuleSelection.java	Mon Mar 28 16:20:45 2011 +0000
@@ -46,6 +46,9 @@
     /** Constant value for the MAP plugin.*/
     public static final String FIELD_PLUGIN_MAP   = "map";
 
+    /** Constant value for the CHART plugin.*/
+    public static final String FIELD_PLUGIN_CHART = "chart";
+
     /** Constant value for the FIX plugin.*/
     public static final String FIELD_PLUGIN_FIX   = "fix";
 
@@ -108,11 +111,12 @@
         LinkedHashMap values = new LinkedHashMap();
         values.put(FIELD_PLUGIN_WINFO, messages.winfo());
         values.put(FIELD_PLUGIN_MINFO, messages.minfo());
+        values.put(FIELD_PLUGIN_FIX, messages.fix());
+        values.put(FIELD_PLUGIN_CHART, messages.chart());
         values.put(FIELD_PLUGIN_MAP, messages.map());
-        values.put(FIELD_PLUGIN_FIX, messages.fix());
 
         radio.setShowTitle(false);
-        radio.setVertical(false);
+        radio.setVertical(true);
         radio.setValueMap(values);
 
         LinkedHashMap initial = new LinkedHashMap();

http://dive4elements.wald.intevation.org