comparison artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/SedimentLoadLSFacet.java @ 8204:c657ddcf1fa6

Sediment loads at measurement stations and longitudinal sections need different processing and styling for diagrams.
author Tom Gottfried <tom@intevation.de>
date Fri, 05 Sep 2014 14:53:58 +0200
parents e4606eae8ea5
children 1cd7225df846
comparison
equal deleted inserted replaced
8203:238fc722f87a 8204:c657ddcf1fa6
45 { 45 {
46 private static Logger log = Logger.getLogger(SedimentLoadLSFacet.class); 46 private static Logger log = Logger.getLogger(SedimentLoadLSFacet.class);
47 47
48 /* Aheinecke we probably need to get the kind and split this up here 48 /* Aheinecke we probably need to get the kind and split this up here
49 * in some way */ 49 * in some way */
50 private static final String NAME = "sedimentload"; 50 private static final String NAME = "sedimentload.ls";
51 51
52 public SedimentLoadLSFacet() { 52 public SedimentLoadLSFacet() {
53 } 53 }
54 54
55 public SedimentLoadLSFacet(int idx, String name, String description, 55 public SedimentLoadLSFacet(int idx, String name, String description,
109 log.debug("GrainFraction: " + theLoad.getGrainFraction().getName()); 109 log.debug("GrainFraction: " + theLoad.getGrainFraction().getName());
110 } 110 }
111 log.debug("Kind: " + theLoad.getKind()); 111 log.debug("Kind: " + theLoad.getKind());
112 log.debug("Unit: " + theLoad.getUnit().getName()); 112 log.debug("Unit: " + theLoad.getUnit().getName());
113 113
114 /* Name has the pattern sedimentload.<unit>.<grainfraction_name> 114 // Name has the pattern sedimentload.ls.<unit>.<grainfraction_name>
115 * this is partly done for backwards compatibility and theming.
116 * See issue 1681 for details. */
117 name = NAME; 115 name = NAME;
118 116
119 String i18nUnit = ""; 117 String i18nUnit = "";
120 118
121 if (theLoad.getUnit().getName().equals("m3/a")) { 119 if (theLoad.getUnit().getName().equals("m3/a")) {

http://dive4elements.wald.intevation.org