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

View differences:

MultiLayerMarkerSymbol.java
43 43
*
44 44
* $Id$
45 45
* $Log$
46
* Revision 1.3  2007-03-26 14:26:02  jaume
46
* Revision 1.4  2007-03-29 16:02:01  jaume
47
* *** empty log message ***
48
*
49
* Revision 1.3  2007/03/26 14:26:02  jaume
47 50
* implemented Print
48 51
*
49 52
* Revision 1.2  2007/03/09 11:20:57  jaume
......
73 76
import com.iver.cit.gvsig.fmap.core.FShape;
74 77
import com.iver.cit.gvsig.fmap.core.IGeometry;
75 78
import com.iver.cit.gvsig.fmap.core.SymbologyFactory;
76
import com.iver.cit.gvsig.fmap.core.styles.ILabelStyle;
77 79
import com.iver.utiles.XMLEntity;
78 80

  
79 81
public class MultiLayerMarkerSymbol extends AbstractSymbol implements IMarkerSymbol, IMultiLayerSymbol {
......
250 252
	}
251 253

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

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

Also available in: Unified diff