Revision 12626 trunk/extensions/extRasterTools-SE/src/org/gvsig/rastertools/geolocation/behavior/GeoRasterBehavior.java
GeoRasterBehavior.java | ||
---|---|---|
20 | 20 |
|
21 | 21 |
import java.awt.Cursor; |
22 | 22 |
import java.awt.Graphics; |
23 |
import java.awt.Graphics2D; |
|
24 | 23 |
import java.awt.event.MouseEvent; |
25 | 24 |
import java.awt.event.MouseWheelEvent; |
26 |
import java.awt.geom.Point2D; |
|
27 |
import java.awt.geom.Rectangle2D; |
|
28 | 25 |
|
29 | 26 |
import org.gvsig.fmap.raster.layers.FLyrRasterSE; |
30 |
import org.gvsig.raster.datastruct.Extent; |
|
31 |
import org.gvsig.raster.util.RasterUtilities; |
|
32 | 27 |
|
33 | 28 |
import com.iver.andami.PluginServices; |
34 | 29 |
import com.iver.andami.ui.mdiManager.IWindow; |
... | ... | |
51 | 46 |
private IView theView = null; |
52 | 47 |
private TranslateBehavior translate = null; |
53 | 48 |
private ScaleBehavior scale = null; |
49 |
private RotationBehavior rotate = null; |
|
54 | 50 |
|
55 | 51 |
/** |
56 | 52 |
* Crea un nuevo RectangleBehavior. |
... | ... | |
61 | 57 |
cur = zili.getCursor(); |
62 | 58 |
translate = new TranslateBehavior(this, cur); |
63 | 59 |
scale = new ScaleBehavior(this, cur); |
60 |
rotate = new RotationBehavior(this, cur); |
|
64 | 61 |
} |
65 | 62 |
|
66 | 63 |
/** |
... | ... | |
89 | 86 |
scale.setActiveTool(false); |
90 | 87 |
translate.setActiveTool(false); |
91 | 88 |
if(!scale.mouseMoved(e)) |
92 |
if(!translate.mouseMoved(e)); |
|
89 |
if(!translate.mouseMoved(e)) |
|
90 |
if(!rotate.mouseMoved(e)); |
|
93 | 91 |
} |
94 | 92 |
|
95 | 93 |
/** |
Also available in: Unified diff