Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/uinfo/vegetationzones/VegetationZonesTableState.java @ 9558:709a73badd48
VegetationZone removed from Uinfo-Ü'Dauern Workflow
author | gernotbelger |
---|---|
date | Wed, 24 Oct 2018 12:00:49 +0200 |
parents | e2da9c8a7c57 |
children |
comparison
equal
deleted
inserted
replaced
9557:145895212b3c | 9558:709a73badd48 |
---|---|
22 /** | 22 /** |
23 * @author Domenico Nardi Tironi | 23 * @author Domenico Nardi Tironi |
24 */ | 24 */ |
25 public class VegetationZonesTableState extends DefaultState { | 25 public class VegetationZonesTableState extends DefaultState { |
26 | 26 |
27 /* THIS STATE IS UNUSED AN SHOULD BE DELETED */ | |
28 | |
27 private static final long serialVersionUID = 1L; | 29 private static final long serialVersionUID = 1L; |
28 | 30 |
29 @Override | 31 @Override |
30 protected String getUIProvider() { | 32 protected String getUIProvider() { |
31 return "uinfo.vegetationzones.table"; | 33 return "uinfo.vegetationzones.table"; |
39 final Element item = ProtocolUtils.createArtNode(cr, "item", null, null); | 41 final Element item = ProtocolUtils.createArtNode(cr, "item", null, null); |
40 final Element label = ProtocolUtils.createArtNode(cr, "label", null, null); | 42 final Element label = ProtocolUtils.createArtNode(cr, "label", null, null); |
41 final Element value = ProtocolUtils.createArtNode(cr, "value", null, null); | 43 final Element value = ProtocolUtils.createArtNode(cr, "value", null, null); |
42 final D4EArtifact flys = (D4EArtifact) artifact; | 44 final D4EArtifact flys = (D4EArtifact) artifact; |
43 final River river = new RiverAccess(flys).getRiver(); | 45 final River river = new RiverAccess(flys).getRiver(); |
44 final String s = flys.getDataAsString(datakey) == null ? VegetationZoneServerClientXChange.parseListToDataString(VegetationZoneServerClientXChange.getStandardList(river, context)) | 46 final String s = flys.getDataAsString(datakey) == null |
47 ? VegetationZoneServerClientXChange.parseListToDataString(VegetationZoneServerClientXChange.getStandardList(river, context)) | |
45 : flys.getDataAsString(datakey); | 48 : flys.getDataAsString(datakey); |
46 | 49 |
47 value.setTextContent(s); | 50 value.setTextContent(s); |
48 item.appendChild(label); | 51 item.appendChild(label); |
49 item.appendChild(value); | 52 item.appendChild(value); |