Revision 5526 trunk/extensions/extCAD/src/com/iver/cit/gvsig/MoveGeometryExtension.java
MoveGeometryExtension.java | ||
---|---|---|
79 | 79 |
* @see com.iver.andami.plugins.IExtension#isEnabled() |
80 | 80 |
*/ |
81 | 81 |
public boolean isEnabled() { |
82 |
if (CADExtension.getEditionManager().getActiveLayerEdited()==null) |
|
83 |
return false; |
|
82 | 84 |
FLyrVect lv=(FLyrVect)CADExtension.getEditionManager().getActiveLayerEdited().getLayer(); |
83 | 85 |
try { |
84 | 86 |
return move.isApplicable(lv.getShapeType()); |
Also available in: Unified diff