Revision 30327 branches/v2_0_0_prep/libraries/libFMap_controls/src/org/gvsig/fmap/mapcontrol/tools/snapping/snappers/AbstractSnapper.java
AbstractSnapper.java | ||
---|---|---|
2 | 2 |
|
3 | 3 |
import java.awt.Color; |
4 | 4 |
|
5 |
public abstract class AbstractSnapper implements ISnapper { |
|
5 |
import org.gvsig.fmap.geom.GeometryLocator; |
|
6 |
import org.gvsig.fmap.geom.GeometryManager; |
|
6 | 7 |
|
7 |
// private Point2D snapPoint = null;
|
|
8 |
public abstract class AbstractSnapper implements ISnapper {
|
|
8 | 9 |
private int sizePixels = 10; |
9 | 10 |
private Color color = Color.MAGENTA; |
10 | 11 |
private boolean enabled; |
11 | 12 |
private int priority=10; |
12 |
// public void setSnapPoint(Point2D snapPoint) { |
|
13 |
// this.snapPoint = snapPoint; |
|
14 |
// |
|
15 |
// } |
|
16 | 13 |
|
14 |
protected static GeometryManager geomManager = GeometryLocator.getGeometryManager(); |
|
17 | 15 |
|
18 | 16 |
public int getSizePixels() { |
19 | 17 |
return sizePixels; |
Also available in: Unified diff