Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/exports/CrossSectionGenerator.java @ 6906:7a9cbb3a3d5a
Artifacts: Moved logic of ThemeUtils into ThemeDocument. TODO: Remove ThemeUtils
author | Sascha L. Teichmann <teichmann@intevation.de> |
---|---|
date | Fri, 23 Aug 2013 01:16:13 +0200 |
parents | 1b35b2ddfc28 |
children | ed8623b989f3 |
comparison
equal
deleted
inserted
replaced
6905:1b35b2ddfc28 | 6906:7a9cbb3a3d5a |
---|---|
187 TextStyle textStyle = null; | 187 TextStyle textStyle = null; |
188 // XXX: DEAD CODE // LineStyle lineStyle = null; | 188 // XXX: DEAD CODE // LineStyle lineStyle = null; |
189 | 189 |
190 // Get Themeing information and add legend item. | 190 // Get Themeing information and add legend item. |
191 if (theme != null) { | 191 if (theme != null) { |
192 textStyle = theme.parseTextStyle(); | 192 textStyle = theme.parseComplexTextStyle(); |
193 // XXX: DEAD CODE // lineStyle = themeAccess.parseLineStyle(); | 193 // XXX: DEAD CODE // lineStyle = themeAccess.parseLineStyle(); |
194 if (fa.getLabel() != null) { | 194 if (fa.getLabel() != null) { |
195 LegendItemCollection lic = new LegendItemCollection(); | 195 LegendItemCollection lic = new LegendItemCollection(); |
196 LegendItemCollection old = plot.getFixedLegendItems(); | 196 LegendItemCollection old = plot.getFixedLegendItems(); |
197 lic.add(createLegendItem(theme, fa.getLabel())); | 197 lic.add(createLegendItem(theme, fa.getLabel())); |