Revision 22932 branches/v2_0_0_prep/applications/appgvSIG/src/com/iver/cit/gvsig/RedoTableExtension.java
RedoTableExtension.java | ||
---|---|---|
78 | 78 |
|
79 | 79 |
if (s.compareTo("REDO") == 0) { |
80 | 80 |
if (tabla.isEditing()){ |
81 |
FeatureStore fs=tabla.getModel().getModelo();
|
|
81 |
FeatureStore fs=tabla.getModel().getModel(); |
|
82 | 82 |
fs.redo(); |
83 | 83 |
fs.getSelection().clear(); |
84 | 84 |
//tabla.refresh(); |
... | ... | |
95 | 95 |
//MapControl mapControl = (MapControl) vista.getMapControl(); |
96 | 96 |
//FLayers layers=mapControl.getMapContext().getLayers(); |
97 | 97 |
//for (int i=0;i<layers.getLayersCount();i++){ |
98 |
if (tabla.getModel().getModelo() instanceof FeatureStore && tabla.isEditing()){
|
|
99 |
FeatureStore fs=tabla.getModel().getModelo();
|
|
98 |
if (tabla.getModel().getModel() instanceof FeatureStore && tabla.isEditing()){ |
|
99 |
FeatureStore fs=tabla.getModel().getModel(); |
|
100 | 100 |
if (fs==null)return false; |
101 | 101 |
return fs.getCommandsRecord().moreRedoCommands(); |
102 | 102 |
} |
Also available in: Unified diff