diff src/java/de/intevation/mxd/reader/SimpleRendererReader.java @ 61:e00deee347a5

Added first line symbol reader.
author Raimund Renkert <rrenkert@intevation.de>
date Mon, 23 May 2011 13:16:42 +0200
parents 37ff67a4991d
children 686a88eb531d
line wrap: on
line diff
--- a/src/java/de/intevation/mxd/reader/SimpleRendererReader.java	Fri May 20 16:27:25 2011 +0200
+++ b/src/java/de/intevation/mxd/reader/SimpleRendererReader.java	Mon May 23 13:16:42 2011 +0200
@@ -9,6 +9,7 @@
 import com.esri.arcgis.display.SimpleMarkerSymbol;
 import com.esri.arcgis.display.SimpleFillSymbol;
 import com.esri.arcgis.display.MultiLayerMarkerSymbol;
+import com.esri.arcgis.display.MultiLayerLineSymbol;
 import com.esri.arcgis.carto.SimpleRenderer;
 
 import org.w3c.dom.Element;
@@ -104,6 +105,12 @@
                 isr.setUtil(util);
                 isr.read();
             }
+            else if(symbol instanceof MultiLayerLineSymbol) {
+                ISymbolReader isr = new MultiLayerLineSymbolReader(symbol);
+                isr.setParent(rendererElement);
+                isr.setUtil(util);
+                isr.read();
+            }
             else {
                 System.out.println("No known Symbol type: " + symbol.getClass().toString());
             }
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)