changeset 306:35301cc3b875

Modified the states' describe() method - related to the last commit. flys-artifacts/trunk@1684 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Thu, 14 Apr 2011 08:32:18 +0000
parents f0966e1a5a7a
children 84f8462790cb
files flys-artifacts/ChangeLog flys-artifacts/src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/DefaultState.java
diffstat 3 files changed, 10 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/flys-artifacts/ChangeLog	Thu Apr 14 08:23:15 2011 +0000
+++ b/flys-artifacts/ChangeLog	Thu Apr 14 08:32:18 2011 +0000
@@ -1,3 +1,10 @@
+2011-04-14  Ingo Weinzierl <ingo@intevation.de>
+
+	* src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
+	  src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
+	  Some modifications related to the last commit - modification of the
+	  describe() signature of a State.
+
 2011-04-14  Ingo Weinzierl <ingo@intevation.de>
 
 	* src/main/java/de/intevation/flys/artifacts/states/GaugeSelect.java:
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java	Thu Apr 14 08:23:15 2011 +0000
+++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java	Thu Apr 14 08:32:18 2011 +0000
@@ -110,6 +110,7 @@
         appendStaticUI(description, staticUI, context, identifier());
 
         Element dynamic = current.describe(
+            this,
             description,
             root,
             context,
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/DefaultState.java	Thu Apr 14 08:23:15 2011 +0000
+++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/DefaultState.java	Thu Apr 14 08:32:18 2011 +0000
@@ -9,6 +9,7 @@
 import org.w3c.dom.Element;
 import org.w3c.dom.Node;
 
+import de.intevation.artifacts.Artifact;
 import de.intevation.artifacts.ArtifactNamespaceContext;
 import de.intevation.artifacts.CallContext;
 import de.intevation.artifacts.CallMeta;
@@ -84,6 +85,7 @@
 
 
     public Element describe(
+        Artifact    artifact,
         Document    document,
         Node        root,
         CallContext context,

http://dive4elements.wald.intevation.org