comparison flys-artifacts/ChangeLog @ 1822:6ed439ff61bf

Changed theme-mapping mechanism to include further condition (on master-artifacts attributes), added point themes for longitudinal.ws for calculations at locations. flys-artifacts/trunk@3151 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Thu, 03 Nov 2011 10:25:23 +0000
parents e55f1a851923
children 7a11b37d8594
comparison
equal deleted inserted replaced
1821:e55f1a851923 1822:6ed439ff61bf
1 2011-11-03 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2
3 Added new matching options for theme-mappings to allow more
4 overspecification of defaults (e.g. now name,description-pattern and
5 master-artifacts attributes are matched). The first full match from
6 the configuration file is done.
7 New matching option in the masterAttr- field of a mapping are
8 super-basic until new use-cases come up.
9 Concrete new themes are point-styles of Ws when locations where chosen
10 to calculate.
11
12 * doc/conf/themes.xml: Added newly defined Themes.
13
14 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
15 Put master-artifact in flys-context.
16
17 * src/main/java/de/intevation/flys/themes/ThemeMapping.java:
18 Accept masterAttr in constructor.
19 (masterAttrMatches): New, check masterAttr-condition against
20 artifact.
21
22 * src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java:
23 When creating ThemeMappings, pass in masterAttr.
24
25 * src/main/java/de/intevation/flys/themes/ThemeFactory.java:
26 (getTheme): Evaluate masterAttr-condition, always return first full
27 match.
28
1 2011-11-03 Felix Wolfsteller <felix.wolfsteller@intevation.de> 29 2011-11-03 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2 30
3 * src/main/java/de/intevation/flys/artifacts/context/FLYSContext.java: 31 * src/main/java/de/intevation/flys/artifacts/context/FLYSContext.java:
4 Added ARTIFACT key, documentation. 32 Added ARTIFACT key, documentation.
5 33

http://dive4elements.wald.intevation.org