Mercurial > mxd2map
comparison src/java/de/intevation/mxd/reader/SimpleLineSymbolReader.java @ 106:609c234e8e23
merged with reimunds changes
author | Stephan Holl <stephan.holl@intevation.de> |
---|---|
date | Tue, 07 Jun 2011 15:50:43 +0200 |
parents | 18e4f143896b |
children | fb93f20478cc |
comparison
equal
deleted
inserted
replaced
105:db18c1b33936 | 106:609c234e8e23 |
---|---|
63 throws Exception { | 63 throws Exception { |
64 logger.debug("read()"); | 64 logger.debug("read()"); |
65 Element symbolElement = util.addSymbol(parent); | 65 Element symbolElement = util.addSymbol(parent); |
66 | 66 |
67 symbolElement.setAttribute("name", symbol.getNameString()); | 67 symbolElement.setAttribute("name", symbol.getNameString()); |
68 symbolElement.setAttribute("style", "line"); | 68 symbolElement.setAttribute("type", "line"); |
69 symbolElement.setAttribute("type", "simple"); | 69 symbolElement.setAttribute("style", "simple"); |
70 if(symbol.getColor() instanceof IRgbColor) { | 70 if(symbol.getColor() instanceof IRgbColor) { |
71 IRgbColor color = (IRgbColor)symbol.getColor(); | 71 IRgbColor color = (IRgbColor)symbol.getColor(); |
72 Color c = new Color ( | 72 Color c = new Color ( |
73 color.getRed(), | 73 color.getRed(), |
74 color.getGreen(), | 74 color.getGreen(), |