Revision 23535 branches/v2_0_0_prep/extensions/extCAD/src/com/iver/cit/gvsig/UndoViewExtension.java
UndoViewExtension.java | ||
---|---|---|
90 | 90 |
if (layers.getLayer(i) instanceof FLyrVect && layers.getLayer(i).isEditing() && layers.getLayer(i).isActive()){ |
91 | 91 |
CommandsRecord commandsRecord=((FLyrVect)layers.getLayer(i)).getFeatureStore().getCommandsRecord(); |
92 | 92 |
commandsRecord.undo(); |
93 |
mapControl.drawMap(false); |
|
93 | 94 |
// VectorialEditableAdapter vea=(VectorialEditableAdapter)((FLyrVect)layers.getLayer(i)).getSource(); |
94 | 95 |
// vea.undo(); |
95 | 96 |
// vea.getCommandRecord().fireCommandsRepaint(null); |
Also available in: Unified diff