diff gnv-artifacts/ChangeLog @ 470:b7bb66440cc8

Added mechanism for advancing to previous states. gnv-artifacts/trunk@533 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Tue, 12 Jan 2010 15:25:32 +0000
parents 62fc63d0f71d
children 06887e2e3f7a
line wrap: on
line diff
--- a/gnv-artifacts/ChangeLog	Tue Jan 12 12:42:53 2010 +0000
+++ b/gnv-artifacts/ChangeLog	Tue Jan 12 15:25:32 2010 +0000
@@ -1,3 +1,24 @@
+2010-01-12  Ingo Weinzierl <ingo.weinzierl@intevation.de>
+
+	* src/main/java/de/intevation/gnv/state/SingleInputState.java,
+	  src/main/java/de/intevation/gnv/state/MinMaxState.java,
+	  src/main/java/de/intevation/gnv/state/CoordinateSelectionState.java:
+	  Data, describing the user interface, is stored in a list instead of a
+	  collection, now. This makes it easier to remove the last element if we
+	  advance back.
+
+	* src/main/java/de/intevation/gnv/state/State.java,
+	  src/main/java/de/intevation/gnv/state/StateBase.java: Added a 'reset'
+	  method to clear data which has been inserted before returning to an old
+	  state. This is called when we try to advance into the past.
+
+	* src/main/java/de/intevation/gnv/artifacts/GNVArtifactBase.java: Now, it's
+	  possible to advance to an earlier state. The 'advance' method first
+	  searches for a given target name in the list of reachable targets. If no
+	  future target has been found, the method looks for an old state with this
+	  target name. The last option is to return to the initial step for choosing
+	  the FIS, if the target name is 'start'.
+
 2010-01-12  Tim Englich  <tim.englich@intevation.de>
 
 	* doc/conf/queries.properties: 

http://dive4elements.wald.intevation.org