[Dive4elements-commits] [PATCH 1 of 6] Add GaugeOverview to Fixanalysis

Wald Commits scm-commit at wald.intevation.org
Fri Nov 16 14:27:37 CET 2012


# HG changeset patch
# User Björn Ricks <bjoern.ricks at intevation.de>
# Date 1353065605 -3600
# Node ID 5e25a2b19ddd5a452f919a4a169404b41caf03e5
# Parent  0441f62535af6379c4c098c41d76732d35bfe2f3
Add GaugeOverview to Fixanalysis

Show the gauge info panel when the fixanalysis is selected. Currently all
entries in the tree are expanded independend from the selected ranges in the
fixanalysis.

diff -r 0441f62535af -r 5e25a2b19ddd flys-client/src/main/java/de/intevation/flys/client/client/ui/ParameterList.java
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/ParameterList.java	Fri Nov 16 12:40:27 2012 +0100
+++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/ParameterList.java	Fri Nov 16 12:33:25 2012 +0100
@@ -48,6 +48,7 @@
 import de.intevation.flys.client.shared.model.DefaultData;
 import de.intevation.flys.client.shared.model.DefaultDataItem;
 import de.intevation.flys.client.shared.model.ExportMode;
+import de.intevation.flys.client.shared.model.FixAnalysisArtifact;
 import de.intevation.flys.client.shared.model.OutputMode;
 import de.intevation.flys.client.shared.model.ReportMode;
 import de.intevation.flys.client.shared.model.River;
@@ -752,7 +753,8 @@
                 setCurrentData(null, null);
             }
         }
-        if (art instanceof WINFOArtifact) {
+        if (art instanceof WINFOArtifact
+                || art instanceof FixAnalysisArtifact) {
             createGaugePanel();
             renderInfo(desc.getRiver(), desc.getOldData());
         }


More information about the Dive4elements-commits mailing list