Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java @ 115:b51e92fef704
The RiverSelect state creates the dynamic UI part for the describe document now.
flys-artifacts/trunk@1304 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Tue, 08 Feb 2011 09:11:25 +0000 |
parents | 0fab16cb4d44 |
children | 84c0b151203e |
comparison
equal
deleted
inserted
replaced
114:394b9580ceae | 115:b51e92fef704 |
---|---|
122 description, | 122 description, |
123 ArtifactNamespaceContext.NAMESPACE_URI, | 123 ArtifactNamespaceContext.NAMESPACE_URI, |
124 ArtifactNamespaceContext.NAMESPACE_PREFIX); | 124 ArtifactNamespaceContext.NAMESPACE_PREFIX); |
125 | 125 |
126 Element root = ProtocolUtils.createRootNode(creator); | 126 Element root = ProtocolUtils.createRootNode(creator); |
127 description.appendChild(root); | |
128 | |
127 ProtocolUtils.appendDescribeHeader(creator, root, identifier(), hash()); | 129 ProtocolUtils.appendDescribeHeader(creator, root, identifier(), hash()); |
128 ProtocolUtils.appendState(creator, root, currentState); | 130 ProtocolUtils.appendState(creator, root, currentState); |
129 ProtocolUtils.appendReachableStates(creator, root, reachable); | 131 ProtocolUtils.appendReachableStates(creator, root, reachable); |
130 | 132 |
131 logger.warn("TODO: Implement the model and ui description!"); | 133 currentState.describe(description, root, context, identifier()); |
132 description.appendChild(root); | |
133 | |
134 | 134 |
135 return description; | 135 return description; |
136 } | 136 } |
137 } | 137 } |
138 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : | 138 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : |