Re: [JPP-Devel] deleteVertices class

2010-01-05 Thread Sunburned Surveyor
Luca, Can you post your whole source code file? Can you describe what you are trying to do? Are you writing a plug-in? If I can look at all of the Java class file I might be able to help you figure out what is going on. Stefan is likely correct about needing to use an EditTransaction object. I ca

Re: [JPP-Devel] deleteVertices class

2010-01-05 Thread Stefan Steiniger
Hei Luca, I think you would need to use EditTransaction's if you operate on a layer directly and not create a new layer from the results. see for instance this class: org.openjump.core.ui.plugin.mousemenu.MoveAlongAnglePlugIn or this: com.vividsolutions.jump.workbench.ui.cursortool.editing.Dele