diff src/java/de/intevation/mxd/reader/MultiLayerLineSymbolReader.java @ 66:6bfebb7eb1df

Added hash line symbol reader.
author Raimund Renkert <rrenkert@intevation.de>
date Wed, 25 May 2011 14:44:46 +0200
parents 9fca9e09b966
children 5ed9e720b6cd
line wrap: on
line diff
--- a/src/java/de/intevation/mxd/reader/MultiLayerLineSymbolReader.java	Wed May 25 14:11:48 2011 +0200
+++ b/src/java/de/intevation/mxd/reader/MultiLayerLineSymbolReader.java	Wed May 25 14:44:46 2011 +0200
@@ -12,6 +12,7 @@
 import com.esri.arcgis.display.MarkerLineSymbol;
 import com.esri.arcgis.display.PictureLineSymbol;
 import com.esri.arcgis.display.CartographicLineSymbol;
+import com.esri.arcgis.display.HashLineSymbol;
 import com.esri.arcgis.display.esriSimpleMarkerStyle;
 import com.esri.arcgis.display.IRgbColor;
 import com.esri.arcgis.display.RgbColor;
@@ -105,6 +106,12 @@
                     sreader.setUtil(util);
                     sreader.read();
                 }
+                else if(sym instanceof HashLineSymbol) {
+                    ISymbolReader sreader = new HashLineSymbolReader(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)