Revision 47790 trunk/org.gvsig.desktop/org.gvsig.desktop.compat.cdc/org.gvsig.fmap.mapcontext/org.gvsig.fmap.mapcontext.api/src/main/java/org/gvsig/fmap/mapcontext/rendering/symbols/ISymbol.java

View differences:

ISymbol.java
29 29
import java.awt.geom.AffineTransform;
30 30
import org.gvsig.fmap.dal.feature.Feature;
31 31
import org.gvsig.fmap.geom.Geometry;
32
import org.gvsig.fmap.mapcontext.ViewPort;
32
import org.gvsig.fmap.mapcontext.MapContext;
33 33
import org.gvsig.tools.lang.Cloneable;
34 34
import org.gvsig.tools.persistence.Persistent;
35 35
import org.gvsig.tools.task.Cancellable;
......
48 48
 */
49 49
public interface ISymbol extends Persistent, IPrintable, Cloneable {
50 50

  
51
	public static Color SELECTION_COLOR = Color.YELLOW;
51
	public static Color SELECTION_COLOR = MapContext.DEFAULT_SELECTION_COLOR;
52 52

  
53 53
	/**
54 54
	 * Returns the derived version of the symbol that will be used to draw the
......
56 56
	 * @return <b>ISymbol</b> applied to a feature when it has been selected.
57 57
	 */
58 58
	public ISymbol getSymbolForSelection();
59
	
60
    public ISymbol getSymbolForSelection(Color selectionColor);
59 61

  
60 62
	/**
61 63
	 * Used when a symbol is going to be drawn.The method to do

Also available in: Unified diff