Revision 5115 trunk/extensions/extCAD/src/com/iver/cit/gvsig/gui/cad/tools/EditVertexCADTool.java
EditVertexCADTool.java | ||
---|---|---|
67 | 67 |
import com.iver.cit.gvsig.fmap.core.v02.FGraphicUtilities; |
68 | 68 |
import com.iver.cit.gvsig.fmap.drivers.DriverIOException; |
69 | 69 |
import com.iver.cit.gvsig.fmap.edition.DefaultRowEdited; |
70 |
import com.iver.cit.gvsig.fmap.edition.IEditableSource; |
|
70 | 71 |
import com.iver.cit.gvsig.fmap.edition.IRowEdited; |
71 | 72 |
import com.iver.cit.gvsig.fmap.edition.VectorialEditableAdapter; |
72 | 73 |
import com.iver.cit.gvsig.gui.cad.DefaultCADTool; |
... | ... | |
237 | 238 |
|
238 | 239 |
IRow newRow=new DefaultFeature(newGeometry,row.getAttributes()); |
239 | 240 |
try { |
240 |
vea.modifyRow(row.getIndex(),newRow,getName()); |
|
241 |
vea.modifyRow(row.getIndex(),newRow,getName(),IEditableSource.GRAPHIC);
|
|
241 | 242 |
} catch (IOException e) { |
242 | 243 |
e.printStackTrace(); |
243 | 244 |
} catch (DriverIOException e) { |
... | ... | |
586 | 587 |
DefaultFeature df = new DefaultFeature(geom, fea |
587 | 588 |
.getAttributes()); |
588 | 589 |
vle.getVEA().modifyRow(row.getIndex(), df, |
589 |
PluginServices.getText(this,"add_vertex")); |
|
590 |
PluginServices.getText(this,"add_vertex"), IEditableSource.GRAPHIC);
|
|
590 | 591 |
|
591 | 592 |
Handler[] newHandlers = geom |
592 | 593 |
.getHandlers(IGeometry.SELECTHANDLER); |
Also available in: Unified diff