Revision 12825 trunk/extensions/extRasterTools-SE/src/org/gvsig/rastertools/geolocation/behavior/RotationBehavior.java
RotationBehavior.java | ||
---|---|---|
93 | 93 |
* |
94 | 94 |
* @param zili listener. |
95 | 95 |
*/ |
96 |
public RotationBehavior(GeoRasterBehavior grb, Cursor cur) { |
|
96 |
public RotationBehavior(GeoRasterBehavior grb, Cursor cur, ITransformIO windowIO) {
|
|
97 | 97 |
grBehavior = grb; |
98 | 98 |
defaultCursor = cur; |
99 |
this.trIO = windowIO; |
|
99 | 100 |
} |
100 | 101 |
|
101 | 102 |
/** |
... | ... | |
245 | 246 |
rotation -= incrRot; |
246 | 247 |
|
247 | 248 |
beforePoint = vp.toMapPoint(e.getPoint()); |
249 |
if(boxRot != null) |
|
250 |
trIO.loadTransform(boxRot); |
|
248 | 251 |
grBehavior.getMapControl().repaint(); |
249 | 252 |
} |
250 | 253 |
|
Also available in: Unified diff