Mercurial > dive4elements > river
diff flys-artifacts/ChangeLog @ 1828:9562ca537143
Added new optional condition for theme-mappings: the output name.
flys-artifacts/trunk@3158 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Fri, 04 Nov 2011 08:59:42 +0000 |
parents | 03f129fa0256 |
children | f5c561abc6ca |
line wrap: on
line diff
--- a/flys-artifacts/ChangeLog Fri Nov 04 08:52:33 2011 +0000 +++ b/flys-artifacts/ChangeLog Fri Nov 04 08:59:42 2011 +0000 @@ -1,3 +1,22 @@ +2011-11-04 Felix Wolfsteller <felix.wolfsteller@intevation.de> + + Added new matching condition for theme-mappings: the name of + the output. + + * src/main/java/de/intevation/flys/themes/ThemeMapping.java: + Added output field and function to match it against a given + output name. + + * src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java: + Createing ThemeMapping with output attribute from configuration. + + * src/main/java/de/intevation/flys/themes/ThemeFactory.java: + (getTheme(FLYSContext, string)): Removed, never called. + (getTheme): Added outputName argument, match it. + + * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: + Pass outputs name until it can be matched against mapping. + 2011-11-04 Felix Wolfsteller <felix.wolfsteller@intevation.de> * doc/conf/themes.xml: Added default themes for other.w(q)kms.