changeset 7825:b9decb8bfb21 minfo-opt

Added the new multiattribute data type.
author Raimund Renkert <rrenkert@intevation.de>
date Thu, 20 Mar 2014 13:36:20 +0100
parents 2c221acebb76
children 982382d9ea8b
files gwt-client/src/main/java/org/dive4elements/river/client/server/ArtifactDescriptionFactory.java
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/gwt-client/src/main/java/org/dive4elements/river/client/server/ArtifactDescriptionFactory.java	Thu Mar 20 13:35:45 2014 +0100
+++ b/gwt-client/src/main/java/org/dive4elements/river/client/server/ArtifactDescriptionFactory.java	Thu Mar 20 13:36:20 2014 +0100
@@ -227,6 +227,9 @@
             else if (type.equals("doublearray")) {
                 list.add(new DoubleArrayData(name, label, null));
             }
+            else if (type.equals("multiattribute")) {
+                list.add(DataFactory.createMultiAttributeData(d, name, label));
+            }
             else {
                 logger.warn("Unrecognized Dynamic data type.");
                 NodeList   choices   = ClientProtocolUtils.getItemNodes(d);

http://dive4elements.wald.intevation.org