Re: [udig-devel] how to do pre-commit validation

2010-03-01 Thread Kemppilä Atte
h 01, 2010 2:47 PM To: User-friendly Desktop Internet GIS Subject: Re: [udig-devel] how to do pre-commit validation Did you have a look at how "validation" used when editing polygons? You should be able to hook into any part of the editing process. If "pre" commit is not covere

Re: [udig-devel] how to do pre-commit validation

2010-03-01 Thread Jody Garnett
Did you have a look at how "validation" used when editing polygons? You should be able to hook into any part of the editing process. If "pre" commit is not covered then please submit a patch ... it will be easier then trying to make a custom "Commit" command. A couple of questions for you ... -

[udig-devel] how to do pre-commit validation

2010-03-01 Thread Kemppilä Atte
Hi. I need to ensure that geometries that users draw follow some custom rules. Preferably this validation should happen on commit and if the geometries are not valid, the commit should be prevented/cancelled. I've looked into various events that commit fires but they all seem to be notificatio