Revision 1702 org.gvsig.raster.georeferencing/trunk/org.gvsig.raster.georeferencing/org.gvsig.raster.georeferencing.swing/org.gvsig.raster.georeferencing.swing.impl/src/main/java/org/gvsig/raster/georeferencing/swing/impl/tool/SelectPointTool.java
SelectPointTool.java | ||
---|---|---|
27 | 27 |
import java.awt.event.MouseMotionListener; |
28 | 28 |
import java.awt.geom.Point2D; |
29 | 29 |
|
30 |
import org.gvsig.raster.georeferencing.swing.impl.view.CanvasZone;
|
|
30 |
import org.gvsig.raster.georeferencing.swing.view.GeorefCanvas;
|
|
31 | 31 |
import org.gvsig.raster.georeferencing.swing.view.ToolEvent; |
32 | 32 |
import org.gvsig.raster.georeferencing.swing.view.ToolListener; |
33 | 33 |
|
... | ... | |
44 | 44 |
* Constructor. Asigna el canvas e inicializa los listeners. |
45 | 45 |
* @param canvas |
46 | 46 |
*/ |
47 |
public SelectPointTool(CanvasZone canvas, ToolListener listener) {
|
|
47 |
public SelectPointTool(GeorefCanvas canvas, ToolListener listener) {
|
|
48 | 48 |
super(canvas, listener); |
49 |
canvas.addMouseListener(this); |
|
50 |
canvas.addMouseMotionListener(this); |
|
49 |
super.canvas.addMouseListener(this);
|
|
50 |
super.canvas.addMouseMotionListener(this);
|
|
51 | 51 |
pointSelected = new Point2D[2]; |
52 | 52 |
} |
53 | 53 |
|
Also available in: Unified diff