changeset 1089:1dc08501a1be

Implemented necessary classes (artifact, output state) used for a new product 'Achsenparalleler Vertikalschnitt. gnv-artifacts/trunk@1203 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Sat, 12 Jun 2010 12:59:48 +0000
parents 46cc1ab1ee15
children 51f3edc9d743
files gnv-artifacts/ChangeLog gnv-artifacts/src/main/java/de/intevation/gnv/profile/verticalcrosssection/VerticalCrossSectionMeshParallelArtifact.java
diffstat 2 files changed, 54 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/gnv-artifacts/ChangeLog	Thu Jun 10 10:16:29 2010 +0000
+++ b/gnv-artifacts/ChangeLog	Sat Jun 12 12:59:48 2010 +0000
@@ -1,3 +1,20 @@
+2010-06-12  Ingo Weinzierl <ingo_weinzierl@web.de>
+
+	* src/main/java/de/intevation/gnv/profile/verticalcrosssection/VerticalCrossSectionMeshParallelArtifact.java:
+	  A new artifact that is used for the product 'Achsenparalleler
+	  Vertikalschnitt'.
+
+	* src/main/java/de/intevation/gnv/state/profile/verticalcrosssection/VerticalCrossSectionOutputState.java:
+	  The determination of the linestring that is used in the interpolation is
+	  outsourced to an own method. This makes it possible to be overriden by
+	  subclasses.
+
+	* src/main/java/de/intevation/gnv/state/profile/verticalcrosssection/VerticalCrossSectionParallelOutputState.java:
+	  Inherits of VerticalCrossSectionOutputState. It overrides the linestring
+	  determination. In this product, no linestring is given by user input but
+	  an axis of the mesh is selected. The linestring is made up by the point of
+	  this axis.
+
 2010-06-10  Ingo Weinzierl <ingo.weinzierl@intevation.de>
 
 	  Issue286 - Input validation of time ranges
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/gnv-artifacts/src/main/java/de/intevation/gnv/profile/verticalcrosssection/VerticalCrossSectionMeshParallelArtifact.java	Sat Jun 12 12:59:48 2010 +0000
@@ -0,0 +1,37 @@
+package de.intevation.gnv.profile.verticalcrosssection;
+
+import de.intevation.artifacts.ArtifactFactory;
+
+import de.intevation.gnv.artifacts.GNVArtifactBase;
+
+import org.apache.log4j.Logger;
+
+import org.w3c.dom.Document;
+
+/**
+ * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a>
+ *
+ */
+public class VerticalCrossSectionMeshParallelArtifact extends GNVArtifactBase {
+
+    private static Logger logger =
+        Logger.getLogger(VerticalCrossSectionMeshParallelArtifact.class);
+
+
+    public VerticalCrossSectionMeshParallelArtifact() {
+        super();
+        this.name = "verticalCrossSectionMeshParallel";
+    }
+
+
+    @Override
+    public void setup(
+        String          identifier,
+        ArtifactFactory factory,
+        Object          context,
+        Document        data
+    ){
+        super.setup(identifier, factory, context, data);
+    }
+}
+// vim:set ts=4 sw=4 si et sta sts=4 fenc=utf-8 :

http://dive4elements.wald.intevation.org