Mercurial > mxd2map
comparison src/java/de/intevation/mxd/reader/UniqueValueRendererReader.java @ 70:6d181c02efce
Added wrapper for marker symbol reader and extracted methods from symbol
readers.
author | Raimund Renkert <rrenkert@intevation.de> |
---|---|
date | Thu, 26 May 2011 14:28:52 +0200 |
parents | 9b5fb5e5914d |
children | acbe36fb45e0 |
comparison
equal
deleted
inserted
replaced
69:b41fcf268827 | 70:6d181c02efce |
---|---|
90 "expression_field_" + j, | 90 "expression_field_" + j, |
91 renderer.getField(j)); | 91 renderer.getField(j)); |
92 } | 92 } |
93 rendererElement.setAttribute("expression_operator", "="); | 93 rendererElement.setAttribute("expression_operator", "="); |
94 ISymbol symbol = renderer.getSymbol(value); | 94 ISymbol symbol = renderer.getSymbol(value); |
95 ISymbolReader symbolReader = new SimpleMarkerSymbolReader(symbol); | 95 ISymbolReader symbolReader = new MarkerSymbolReader(symbol); |
96 symbolReader.setUtil(util); | 96 symbolReader.setUtil(util); |
97 symbolReader.setParent(rendererElement); | 97 symbolReader.setParent(rendererElement); |
98 symbolReader.read (); | 98 symbolReader.read (); |
99 } | 99 } |
100 catch(Exception e) { | 100 catch(Exception e) { |