Mercurial > mxd2map
comparison src/java/de/intevation/mxd/reader/MultiLayerLineSymbolReader.java @ 64:c73647bd71c0
Added picture line symbol reader.
author | Raimund Renkert <rrenkert@intevation.de> |
---|---|
date | Tue, 24 May 2011 17:32:43 +0200 |
parents | 5c5ef5768893 |
children | 9fca9e09b966 |
comparison
equal
deleted
inserted
replaced
63:5c5ef5768893 | 64:c73647bd71c0 |
---|---|
8 | 8 |
9 import com.esri.arcgis.display.ISymbol; | 9 import com.esri.arcgis.display.ISymbol; |
10 import com.esri.arcgis.display.MultiLayerLineSymbol; | 10 import com.esri.arcgis.display.MultiLayerLineSymbol; |
11 import com.esri.arcgis.display.SimpleLineSymbol; | 11 import com.esri.arcgis.display.SimpleLineSymbol; |
12 import com.esri.arcgis.display.MarkerLineSymbol; | 12 import com.esri.arcgis.display.MarkerLineSymbol; |
13 import com.esri.arcgis.display.PictureLineSymbol; | |
13 import com.esri.arcgis.display.esriSimpleMarkerStyle; | 14 import com.esri.arcgis.display.esriSimpleMarkerStyle; |
14 import com.esri.arcgis.display.IRgbColor; | 15 import com.esri.arcgis.display.IRgbColor; |
15 import com.esri.arcgis.display.RgbColor; | 16 import com.esri.arcgis.display.RgbColor; |
16 | 17 |
17 import org.w3c.dom.Element; | 18 import org.w3c.dom.Element; |
89 ISymbolReader sreader = new MarkerLineSymbolReader(sym); | 90 ISymbolReader sreader = new MarkerLineSymbolReader(sym); |
90 sreader.setParent(renderer); | 91 sreader.setParent(renderer); |
91 sreader.setUtil(util); | 92 sreader.setUtil(util); |
92 sreader.read(); | 93 sreader.read(); |
93 } | 94 } |
95 else if(sym instanceof PictureLineSymbol) { | |
96 ISymbolReader sreader = new PictureLineSymbolReader(sym); | |
97 sreader.setParent(renderer); | |
98 sreader.setUtil(util); | |
99 sreader.read(); | |
100 } | |
94 else { | 101 else { |
95 logger.debug("The type of " + sym.getClass().toString() + | 102 logger.debug("The type of " + sym.getClass().toString() + |
96 " is not implemented!"); | 103 " is not implemented!"); |
97 System.out.println( | 104 System.out.println( |
98 "No known instance: " + sym.getClass().toString()); | 105 "No known instance: " + sym.getClass().toString()); |