Revision 39582 branches/v2_0_0_prep/extensions/extEditing/src/org/gvsig/editing/gui/cad/tools/RotateCADTool.java
RotateCADTool.java | ||
---|---|---|
29 | 29 |
import org.gvsig.andami.PluginServices; |
30 | 30 |
import org.gvsig.andami.messages.NotificationManager; |
31 | 31 |
import org.gvsig.editing.CADExtension; |
32 |
import org.gvsig.editing.IEditionManager; |
|
32 | 33 |
import org.gvsig.editing.gui.cad.DefaultCADTool; |
33 | 34 |
import org.gvsig.editing.gui.cad.exception.CommandException; |
34 | 35 |
import org.gvsig.editing.gui.cad.tools.smc.RotateCADToolContext; |
... | ... | |
256 | 257 |
String status = actualState.getName(); |
257 | 258 |
VectorialLayerEdited vle = getVLE(); |
258 | 259 |
FeatureStore featureStore = null; |
260 |
IEditionManager ed_man = this.getEditionManager(); |
|
261 |
|
|
259 | 262 |
try { |
260 | 263 |
featureStore = vle.getFeatureStore(); |
261 | 264 |
} catch (ReadException e1) { |
... | ... | |
292 | 295 |
eFeature.setGeometry(featureStore |
293 | 296 |
.getDefaultFeatureType() |
294 | 297 |
.getDefaultGeometryAttributeName(), geometry); |
295 |
featureStore.update(eFeature); |
|
298 |
|
|
299 |
ed_man.updateFeature(featureStore, eFeature); |
|
296 | 300 |
// vea.modifyRow(row.getIndex(), |
297 | 301 |
// fea,getName(),EditionEvent.GRAPHIC); |
298 | 302 |
// /selectedRowAux.add(new |
Also available in: Unified diff