Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/WQKmsInterpolArtifact.java @ 1914:e20a47be6207
Differentiate between wsts whose name starts with 'height' and all others.
flys-artifacts/trunk@3274 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Wed, 16 Nov 2011 15:48:01 +0000 |
parents | 61baa34af1d4 |
children | 346044bd523d |
comparison
equal
deleted
inserted
replaced
1913:4a2dadc5cf0b | 1914:e20a47be6207 |
---|---|
103 } | 103 } |
104 addStringData("wst_id", parts[3]); | 104 addStringData("wst_id", parts[3]); |
105 String wkmsName = (col > 0) | 105 String wkmsName = (col > 0) |
106 ? WKmsFactory.getWKmsName(col, wst) | 106 ? WKmsFactory.getWKmsName(col, wst) |
107 : WKmsFactory.getWKmsName(wst); | 107 : WKmsFactory.getWKmsName(wst); |
108 Facet facet = new WQFacet( | 108 String name = (parts[0].startsWith("height")) |
109 ? STATIC_WQ_ANNOTATIONS | |
110 : STATIC_WQ; | |
111 | |
112 Facet facet = new WQFacet(name, | |
109 Resources.getMsg( | 113 Resources.getMsg( |
110 callMeta, | 114 callMeta, |
111 wkmsName, | 115 wkmsName, |
112 wkmsName)); | 116 wkmsName)); |
113 fs.add(facet); | 117 fs.add(facet); |