Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/ScenarioSelect.java @ 1159:fb5a7ff9feb8
Suppress the GeoJSON string for the FloodMap creation to be included in the static DESCRIBE part.
flys-artifacts/trunk@2695 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Mon, 12 Sep 2011 06:23:48 +0000 |
parents | 13784581ab0c |
children | 1aba1a75beb2 |
comparison
equal
deleted
inserted
replaced
1158:fbe18ad4caff | 1159:fb5a7ff9feb8 |
---|---|
7 import de.intevation.artifacts.Artifact; | 7 import de.intevation.artifacts.Artifact; |
8 import de.intevation.artifacts.CallContext; | 8 import de.intevation.artifacts.CallContext; |
9 import de.intevation.artifacts.CallMeta; | 9 import de.intevation.artifacts.CallMeta; |
10 | 10 |
11 import de.intevation.artifacts.common.utils.XMLUtils; | 11 import de.intevation.artifacts.common.utils.XMLUtils; |
12 import de.intevation.artifacts.common.utils.XMLUtils.ElementCreator; | |
12 | 13 |
13 import de.intevation.artifactdatabase.ProtocolUtils; | 14 import de.intevation.artifactdatabase.ProtocolUtils; |
14 | 15 |
15 import de.intevation.flys.artifacts.FLYSArtifact; | 16 import de.intevation.flys.artifacts.FLYSArtifact; |
16 import de.intevation.flys.artifacts.resources.Resources; | 17 import de.intevation.flys.artifacts.resources.Resources; |
39 | 40 |
40 | 41 |
41 @Override | 42 @Override |
42 protected String getUIProvider() { | 43 protected String getUIProvider() { |
43 return "map_digitize"; | 44 return "map_digitize"; |
45 } | |
46 | |
47 | |
48 @Override | |
49 protected void appendStaticData( | |
50 FLYSArtifact flys, | |
51 CallMeta meta, | |
52 ElementCreator creator, | |
53 Element ui, | |
54 String name | |
55 ) { | |
56 if (name != null && name.equals(FIELD_BARRIERS)) { | |
57 return; | |
58 } | |
59 else { | |
60 super.appendStaticData(flys, meta, creator, ui, name); | |
61 } | |
44 } | 62 } |
45 | 63 |
46 | 64 |
47 @Override | 65 @Override |
48 protected Element[] createItems( | 66 protected Element[] createItems( |