comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java @ 313:89bd0417418f

The location/distance state now writes default values into DESCRIBE. flys-artifacts/trunk@1697 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Thu, 14 Apr 2011 13:36:06 +0000
parents b5c99532f898
children b33ba2cd4a3e
comparison
equal deleted inserted replaced
312:0c6328c227f1 313:89bd0417418f
2 2
3 import org.apache.log4j.Logger; 3 import org.apache.log4j.Logger;
4 4
5 import org.w3c.dom.Element; 5 import org.w3c.dom.Element;
6 6
7 import de.intevation.artifacts.Artifact;
7 import de.intevation.artifacts.CallContext; 8 import de.intevation.artifacts.CallContext;
8 import de.intevation.artifacts.CallMeta; 9 import de.intevation.artifacts.CallMeta;
9 10
10 import de.intevation.artifacts.common.utils.XMLUtils; 11 import de.intevation.artifacts.common.utils.XMLUtils;
11 12
51 CALCULATION_DISCHARGE_LONGITUDINAL_CURVE }; 52 CALCULATION_DISCHARGE_LONGITUDINAL_CURVE };
52 53
53 54
54 protected Element[] createItems( 55 protected Element[] createItems(
55 XMLUtils.ElementCreator cr, 56 XMLUtils.ElementCreator cr,
57 Artifact artifact,
56 String name, 58 String name,
57 CallContext context) 59 CallContext context)
58 { 60 {
59 CallMeta meta = context.getMeta(); 61 CallMeta meta = context.getMeta();
60 Element[] calcs = new Element[CALCULATIONS.length]; 62 Element[] calcs = new Element[CALCULATIONS.length];

http://dive4elements.wald.intevation.org