comparison src/java/de/intevation/mxd/reader/SimpleRendererReader.java @ 60:37ff67a4991d

Added TODO for line symbol reader.
author Raimund Renkert <rrenkert@intevation.de>
date Fri, 20 May 2011 16:27:25 +0200
parents 34a93dad7604
children e00deee347a5
comparison
equal deleted inserted replaced
59:ef1ee8e752b2 60:37ff67a4991d
80 rendererElement = util.addRenderer(layer); 80 rendererElement = util.addRenderer(layer);
81 81
82 rendererElement.setAttribute("label", renderer.getLabel()); 82 rendererElement.setAttribute("label", renderer.getLabel());
83 rendererElement.setAttribute("description", renderer.getDescription()); 83 rendererElement.setAttribute("description", renderer.getDescription());
84 symbol = renderer.getSymbol(); 84 symbol = renderer.getSymbol();
85
86 //TODO This reader can also read simple line symbols. Just add
87 //another else if statement with the corresponding reader.
88 //In MXD-files simple- and marker lines use the MultiLayerLineSymbol.
85 if(symbol instanceof SimpleMarkerSymbol){ 89 if(symbol instanceof SimpleMarkerSymbol){
86 ISymbolReader isr= new SimpleMarkerSymbolReader(symbol); 90 ISymbolReader isr= new SimpleMarkerSymbolReader(symbol);
87 isr.setParent(rendererElement); 91 isr.setParent(rendererElement);
88 isr.setUtil(util); 92 isr.setUtil(util);
89 isr.read(); 93 isr.read();
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)