comparison flys-artifacts/ChangeLog @ 1747:d2a17e990c70

Improved the Themes: we now support special themes for facets which need to match a given pattern string. flys-artifacts/trunk@3047 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Thu, 20 Oct 2011 13:45:45 +0000
parents 94faf08d143c
children d56b94325bec
comparison
equal deleted inserted replaced
1746:94faf08d143c 1747:d2a17e990c70
1 2011-10-20 Ingo Weinzierl <ingo@intevation.de>
2
3 * doc/conf/themes.xml: Added main value themes for longitudinal section
4 charts.
5
6 * src/main/java/de/intevation/flys/themes/ThemeMapping.java: New. This
7 class stores the name of a facet, the related theme and a pattern
8 string.
9
10 * src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java:
11 Read the pattern string and store a list of ThemeMapping objects in the
12 FLYSContext.
13
14 * src/main/java/de/intevation/flys/themes/ThemeFactory.java: Modified
15 getTheme() which now takes the FLYSContext, the name of a facet and an
16 optional pattern string. Now, we can have specialized Themes for each
17 chart type. E.g. the facet "longitudinal_section.w" maps the default
18 Theme for W lines in longitudinal section charts. If the optional
19 pattern string matches the pattern ".*(HQ1000)(\D.*)*", the ThemeFactory
20 will return the Theme "LongitudinalSectionW_HQ1000".
21
22 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
23 Use the description of a facet as pattern string to get the relevant
24 Theme from ThemeFactory.
25
1 2011-10-20 Raimund Renkert <raimund.renkert@intevation.de> 26 2011-10-20 Raimund Renkert <raimund.renkert@intevation.de>
2 27
3 * doc/conf/themes.xml: 28 * doc/conf/themes.xml:
4 Added new theme attributes. 29 Added new theme attributes.
5 30

http://dive4elements.wald.intevation.org