Revision 10977 trunk/libraries/libFMap/src/com/iver/cit/gvsig/fmap/core/symbols/MultiLayerFillSymbol.java

View differences:

MultiLayerFillSymbol.java
43 43
*
44 44
* $Id$
45 45
* $Log$
46
* Revision 1.4  2007-03-26 14:25:29  jaume
46
* Revision 1.5  2007-03-29 16:02:01  jaume
47
* *** empty log message ***
48
*
49
* Revision 1.4  2007/03/26 14:25:29  jaume
47 50
* implemented Print
48 51
*
49 52
* Revision 1.3  2007/03/13 16:58:36  jaume
......
78 81
import com.iver.cit.gvsig.fmap.core.FShape;
79 82
import com.iver.cit.gvsig.fmap.core.IGeometry;
80 83
import com.iver.cit.gvsig.fmap.core.SymbologyFactory;
81
import com.iver.cit.gvsig.fmap.core.styles.ILabelStyle;
82 84
import com.iver.cit.gvsig.fmap.core.v02.FSymbol;
83 85
import com.iver.utiles.XMLEntity;
84 86

  
......
252 254
	}
253 255

  
254 256
	public void addLayer(ISymbol newLayer, int layerIndex) throws IndexOutOfBoundsException {
255
		if (newLayer == null || newLayer instanceof ILabelStyle) return; // null or symbols that are styles are not allowed
257
		if (newLayer == null )/*|| newLayer instanceof ILabelStyle)*/ return; // null or symbols that are styles are not allowed
256 258

  
257 259
		selectionSymbol = null; /* forces the selection symbol to be re-created
258 260
		 						 * next time it is required

Also available in: Unified diff