# HG changeset patch # User Felix Wolfsteller # Date 1321458481 0 # Node ID e20a47be620773e5c099e32790e6a69661002430 # Parent 4a2dadc5cf0bff993d525d9725a133d16132d14c Differentiate between wsts whose name starts with 'height' and all others. flys-artifacts/trunk@3274 c6561f87-3c4e-4783-a992-168aeb5c3f6f diff -r 4a2dadc5cf0b -r e20a47be6207 flys-artifacts/ChangeLog --- a/flys-artifacts/ChangeLog Wed Nov 16 15:46:11 2011 +0000 +++ b/flys-artifacts/ChangeLog Wed Nov 16 15:48:01 2011 +0000 @@ -1,3 +1,9 @@ +2011-11-16 Felix Wolfsteller + + * src/main/java/de/intevation/flys/artifacts/WQKmsInterpolArtifact.java: + Set Facet type (name) based on static datas name (special case + everything starting with "height"). + 2011-11-16 Felix Wolfsteller * doc/conf/artifacts/winfo.xml: Extended compatibility matrices. diff -r 4a2dadc5cf0b -r e20a47be6207 flys-artifacts/src/main/java/de/intevation/flys/artifacts/WQKmsInterpolArtifact.java --- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/WQKmsInterpolArtifact.java Wed Nov 16 15:46:11 2011 +0000 +++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/WQKmsInterpolArtifact.java Wed Nov 16 15:48:01 2011 +0000 @@ -105,7 +105,11 @@ String wkmsName = (col > 0) ? WKmsFactory.getWKmsName(col, wst) : WKmsFactory.getWKmsName(wst); - Facet facet = new WQFacet( + String name = (parts[0].startsWith("height")) + ? STATIC_WQ_ANNOTATIONS + : STATIC_WQ; + + Facet facet = new WQFacet(name, Resources.getMsg( callMeta, wkmsName,