Revision 10626 trunk/extensions/extCAD/src/com/iver/cit/gvsig/MoveGeometryExtension.java
MoveGeometryExtension.java | ||
---|---|---|
40 | 40 |
*/ |
41 | 41 |
package com.iver.cit.gvsig; |
42 | 42 |
|
43 |
import com.hardcode.gdbms.driver.exceptions.ReadDriverException; |
|
43 | 44 |
import com.iver.andami.plugins.Extension; |
44 |
import com.iver.cit.gvsig.fmap.DriverException; |
|
45 | 45 |
import com.iver.cit.gvsig.fmap.MapControl; |
46 | 46 |
import com.iver.cit.gvsig.fmap.layers.FLyrVect; |
47 | 47 |
import com.iver.cit.gvsig.gui.cad.tools.MoveCADTool; |
... | ... | |
84 | 84 |
FLyrVect lv=(FLyrVect)CADExtension.getEditionManager().getActiveLayerEdited().getLayer(); |
85 | 85 |
try { |
86 | 86 |
return move.isApplicable(lv.getShapeType()); |
87 |
} catch (DriverException e) { |
|
87 |
} catch (ReadDriverException e) { |
|
88 |
// TODO Auto-generated catch block |
|
88 | 89 |
e.printStackTrace(); |
89 | 90 |
} |
90 | 91 |
return false; |
Also available in: Unified diff