Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/states/WaterlevelPairSelectState.java @ 8860:28df64078f27
Merge with 0862ea5d66baf60e7eee496d130a35157cc9ec12
author | gernotbelger |
---|---|
date | Fri, 19 Jan 2018 11:23:42 +0100 |
parents | 8f6d6d26e96f 5e38e2924c07 |
children | 839b2aa84dd0 |
comparison
equal
deleted
inserted
replaced
8854:7bbfb24e6eec | 8860:28df64078f27 |
---|---|
80 String name, | 80 String name, |
81 CallContext context) | 81 CallContext context) |
82 { | 82 { |
83 log.debug("createItems: " + name); | 83 log.debug("createItems: " + name); |
84 if (name.equals("diffids")) { | 84 if (name.equals("diffids")) { |
85 Element item = ProtocolUtils.createArtNode(cr, "item", null, null); | 85 Element item = ProtocolUtils.createArtNode( |
86 Element label = ProtocolUtils.createArtNode(cr, "label", null, null); | 86 cr, "item", null, null); |
87 Element value = ProtocolUtils.createArtNode(cr, "value", null, null); | 87 Element label = ProtocolUtils.createArtNode( |
88 cr, "label", null, null); | |
89 Element value = ProtocolUtils.createArtNode( | |
90 cr, "value", null, null); | |
88 D4EArtifact flys = (D4EArtifact) artifact; | 91 D4EArtifact flys = (D4EArtifact) artifact; |
89 String s = flys.getDataAsString("diffids"); | 92 String s = flys.getDataAsString("diffids"); |
90 value.setTextContent(s); | 93 value.setTextContent(s); |
91 item.appendChild(label); | 94 item.appendChild(label); |
92 item.appendChild(value); | 95 item.appendChild(value); |