diff 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
line wrap: on
line diff
--- a/src/java/de/intevation/mxd/reader/MultiLayerLineSymbolReader.java	Tue May 24 16:51:01 2011 +0200
+++ b/src/java/de/intevation/mxd/reader/MultiLayerLineSymbolReader.java	Tue May 24 17:32:43 2011 +0200
@@ -10,6 +10,7 @@
 import com.esri.arcgis.display.MultiLayerLineSymbol;
 import com.esri.arcgis.display.SimpleLineSymbol;
 import com.esri.arcgis.display.MarkerLineSymbol;
+import com.esri.arcgis.display.PictureLineSymbol;
 import com.esri.arcgis.display.esriSimpleMarkerStyle;
 import com.esri.arcgis.display.IRgbColor;
 import com.esri.arcgis.display.RgbColor;
@@ -91,6 +92,12 @@
                     sreader.setUtil(util);
                     sreader.read();
                 }
+                else if(sym instanceof PictureLineSymbol) {
+                    ISymbolReader sreader = new PictureLineSymbolReader(sym);
+                    sreader.setParent(renderer);
+                    sreader.setUtil(util);
+                    sreader.read();
+                }
                 else {
                     logger.debug("The type of " + sym.getClass().toString() +
                                  " is not implemented!");
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)