Revision 12728 trunk/libraries/libFMap/src/com/iver/cit/gvsig/fmap/core/symbols/MarkerFillSymbol.java

View differences:

MarkerFillSymbol.java
1
/* gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana
1
/* gvSIG. Sistema de Informaci�n Geogr�fica de la Generalitat Valenciana
2 2
 *
3 3
 * Copyright (C) 2005 IVER T.I. and Generalitat Valenciana.
4 4
 *
......
20 20
 *
21 21
 *  Generalitat Valenciana
22 22
 *   Conselleria d'Infraestructures i Transport
23
 *   Av. Blasco Ib??ez, 50
23
 *   Av. Blasco Ib��ez, 50
24 24
 *   46010 VALENCIA
25 25
 *   SPAIN
26 26
 *
......
43 43
*
44 44
* $Id$
45 45
* $Log$
46
* Revision 1.10  2007-05-28 15:36:42  jaume
46
* Revision 1.11  2007-07-23 06:52:25  jaume
47
* default selection color refactored, moved to MapContext
48
*
49
* Revision 1.10  2007/05/28 15:36:42  jaume
47 50
* *** empty log message ***
48 51
*
49 52
* Revision 1.9  2007/05/08 08:47:40  jaume
......
131 134
import javax.print.attribute.PrintRequestAttributeSet;
132 135

  
133 136
import com.hardcode.gdbms.driver.exceptions.ReadDriverException;
137
import com.iver.cit.gvsig.fmap.MapContext;
134 138
import com.iver.cit.gvsig.fmap.core.FPoint2D;
135 139
import com.iver.cit.gvsig.fmap.core.FShape;
136 140
import com.iver.cit.gvsig.fmap.core.SymbologyFactory;
137 141
import com.iver.cit.gvsig.fmap.core.styles.IMarkerFillProperties;
138 142
import com.iver.cit.gvsig.fmap.core.styles.MarkerFillProperties;
139 143
import com.iver.cit.gvsig.fmap.core.v02.FConverter;
140
import com.iver.cit.gvsig.fmap.core.v02.FSymbol;
141 144
import com.iver.utiles.StringUtilities;
142 145
import com.iver.utiles.XMLEntity;
143 146
import com.vividsolutions.jts.geom.Geometry;
......
159 162
	public ISymbol getSymbolForSelection() {
160 163
		if (selectionSymbol == null) {
161 164
			selectionSymbol = (MarkerFillSymbol) SymbologyFactory.createSymbolFromXML(getXMLEntity(), null);
162
			selectionSymbol.setFillColor(FSymbol.getSelectionColor());
165
			selectionSymbol.setFillColor(MapContext.getSelectionColor());
163 166
		}
164 167

  
165 168
		return selectionSymbol;

Also available in: Unified diff