[Dive4elements-commits] [PATCH 11 of 17] FacetTypes: New IS macro for sediment load, prep for issue1077
Wald Commits
scm-commit at wald.intevation.org
Wed Apr 10 17:14:17 CEST 2013
# HG changeset patch
# User Felix Wolfsteller <felix.wolfsteller at intevation.de>
# Date 1365579055 -7200
# Node ID 1389bb92cc82bd974655dfa5a9b86a6f3bbf3a2c
# Parent b5bf8a2da8d8480dea526314d55bbb77dc545d69
FacetTypes: New IS macro for sediment load, prep for issue1077.
diff -r b5bf8a2da8d8 -r 1389bb92cc82 flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java Wed Apr 10 09:30:09 2013 +0200
+++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java Wed Apr 10 09:30:55 2013 +0200
@@ -103,6 +103,9 @@
return false;
}
+ public static boolean SEDIMENT_LOAD_NO_FLOAT(String type) {
+ return type.startsWith("sedimentload") && !type.contains("susp");
+ }
};
/** Available diagram/chart-types. This enum is evaluated at certain
More information about the Dive4elements-commits
mailing list