[PATCH 5 of 6] Added the new multiattribute data type

Wald Commits scm-commit at wald.intevation.org
Thu Mar 20 13:37:32 CET 2014


# HG changeset patch
# User Raimund Renkert <rrenkert at intevation.de>
# Date 1395318980 -3600
# Branch minfo-opt
# Node ID b9decb8bfb21e56cf88af3e44c26774e22135067
# Parent  2c221acebb766141670aca1e368d219258bf6489
Added the new multiattribute data type.

diff -r 2c221acebb76 -r b9decb8bfb21 gwt-client/src/main/java/org/dive4elements/river/client/server/ArtifactDescriptionFactory.java
--- 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);


More information about the Dive4Elements-commits mailing list