comparison gnv-artifacts/ChangeLog @ 473:a6a33ef35809

Added support to step back to previous states. Add state names to xform nodes in describe document and append old targets to list of reachable targets. gnv-artifacts/trunk@539 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Wed, 13 Jan 2010 23:10:56 +0000
parents d6a100d5f74a
children ab29e4ff2fda
comparison
equal deleted inserted replaced
472:d6a100d5f74a 473:a6a33ef35809
1 2010-01-13 Ingo Weinzierl <ingo_weinzierl@web.de>
2
3 * src/main/java/de/intevation/gnv/artifacts/GNVArtifactBase.java: 'advance'
4 method will now consider old states. We reset input data of target state
5 and clean cache from 'future data' before stepping back to previous
6 states.
7
8 TODO: Refactor caching mechanism which should take care of different
9 states' hash values to be able to use the cache more efficiently.
10
11 * src/main/java/de/intevation/gnv/state/State.java: Added method to return
12 map which stores input data of the current state.
13
14 * src/main/java/de/intevation/gnv/state/describedata/MinMaxDescribeData.java,
15 src/main/java/de/intevation/gnv/state/describedata/SingleValueDescribeData.java,
16 src/main/java/de/intevation/gnv/state/describedata/KeyValueDescibeData.java
17 src/main/java/de/intevation/gnv/state/describedata/DefaultSingleValueDescribeData.java,
18 src/main/java/de/intevation/gnv/state/describedata/DefaultMinMaxDescribeData.java,
19 src/main/java/de/intevation/gnv/state/describedata/DefaultKeyValueDescribeData.java:
20 Add current state's name when initializing new objects of these classes.
21 The name of a state is added as attribute to a node when creating the
22 describe-document. The xsl transformer will read this attribute and create
23 a link which allows the user to step back to previous states.
24
25 * src/main/java/de/intevation/gnv/state/SingleInputState.java,
26 src/main/java/de/intevation/gnv/state/MinMaxState.java,
27 src/main/java/de/intevation/gnv/state/StateBase.java:
28 - Add state name when creating objects to store input data.
29 - Use XMLUtils.ElementCreator to write namespace aware xml elements.
30 - Add state names as attributes to xform elements.
31 - Append old states to list of reachable targets in describe-document.
32 - Remove data from cache which belong to future states after stepping
33 back to a previous state.
34 - Remove input data of current state after stepping back.
35
1 2010-01-12 Sascha L. Teichmann <sascha.teichmann@intevation.de> 36 2010-01-12 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2 37
3 * doc/conf/conf.xml, 38 * doc/conf/conf.xml,
4 src/main/java/de/intevation/gnv/artifacts/context/GNVArtifactContext.java, 39 src/main/java/de/intevation/gnv/artifacts/context/GNVArtifactContext.java,
5 src/main/java/de/intevation/gnv/artifacts/context/GNVArtifactContextFactory.java: 40 src/main/java/de/intevation/gnv/artifacts/context/GNVArtifactContextFactory.java:

http://dive4elements.wald.intevation.org