Revision 7831
branches/v10/extensions/extCAD/src/com/iver/cit/gvsig/gui/cad/CADToolAdapter.java | ||
---|---|---|
888 | 888 |
* @param actionCommand |
889 | 889 |
*/ |
890 | 890 |
public void keyPressed(String actionCommand) { |
891 |
|
|
892 |
if (CADExtension.getEditionManager().getActiveLayerEdited() == null){ |
|
893 |
return; |
|
894 |
} |
|
895 |
|
|
896 |
|
|
891 | 897 |
if (actionCommand.equals("eliminar")) { |
892 | 898 |
delete(); |
893 | 899 |
} else if (actionCommand.equals("escape")) { |
Also available in: Unified diff