Revision 6877 trunk/extensions/extCAD/src/com/iver/cit/gvsig/gui/accelerators/ForceCursorAccelerator.java
ForceCursorAccelerator.java | ||
---|---|---|
44 | 44 |
import java.awt.event.KeyEvent; |
45 | 45 |
|
46 | 46 |
import com.iver.andami.PluginServices; |
47 |
import com.iver.andami.ui.mdiManager.View;
|
|
47 |
import com.iver.andami.ui.mdiManager.IWindow;
|
|
48 | 48 |
import com.iver.cit.gvsig.CADExtension; |
49 | 49 |
import com.iver.cit.gvsig.gui.cad.CADToolAdapter; |
50 | 50 |
|
... | ... | |
58 | 58 |
if (e.getID() == KeyEvent.KEY_PRESSED) |
59 | 59 |
return false; |
60 | 60 |
|
61 |
View v = PluginServices.getMDIManager().getActiveView();
|
|
61 |
IWindow v = PluginServices.getMDIManager().getActiveView();
|
|
62 | 62 |
if (!(v instanceof com.iver.cit.gvsig.gui.View)) |
63 | 63 |
return false; |
64 | 64 |
|
Also available in: Unified diff