comparison flys-artifacts/ChangeLog @ 1709:f643ea084213

Allow simple codepaths to have Facets initially being 'inactive' (wrt rendering). flys-artifacts/trunk@2969 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Fri, 14 Oct 2011 08:52:44 +0000
parents e99b4bd32cd5
children 055f32a5388a
comparison
equal deleted inserted replaced
1708:e99b4bd32cd5 1709:f643ea084213
1 2011-10-14 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2
3 Add possibility of programmatic configuration of initial "activity"
4 state (active or inactive) of (Managed)Facets by introducing
5 FLYSArtifact.getInitialFacetActivity. This method shall be overriden
6 by subclasses where Facets are wanted to come to live inactive.
7 Artifacts will be asked only once how the MangedFacet should come to live,
8 namely when AttributeWriter finds a genuinely new Facet.
9
10 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java,
11 src/main/java/de/intevation/flys/artifacts/WaterlevelArtifact.java
12 (getInitialFacetActivity):
13 New function to let Artifact decide whether a ManagedFacet shall
14 initially be set to active or inactive.
15
16 * src/main/java/de/intevation/flys/collections/AttributeWriter.java:
17 Accept database in constructor. For genuinely new Facets, spawn its
18 mother artifact and ask whether the (Managed)Facet shall be active
19 or inactive (initially).
20
21 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java
22 (buildOutAttributes): Pass database to AttributeWrite (which needs it
23 to spawn artifacts), rename items parameter to reflect content.
24
1 2011-10-13 Felix Wolfsteller <felix.wolfsteller@intevation.de> 25 2011-10-13 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2 26
3 Cosemtics, removed obsolete imports. 27 Cosmetics, removed obsolete imports.
4 28
5 * src/main/java/de/intevation/flys/artifacts/WaterlevelArtifact.java, 29 * src/main/java/de/intevation/flys/artifacts/WaterlevelArtifact.java,
6 src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java: 30 src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java:
7 Removed obsolete imports. 31 Removed obsolete imports.
8 32

http://dive4elements.wald.intevation.org