[udig-devel] undo last action programatically

Jesse Eichar jeichar.w at gmail.com
Mon Apr 28 01:26:30 PDT 2008


In all honesty that should work...  Does it work when you do an undo  
through the UI or have you encountered a bug?  The undo functionality  
was quite tricky to program and I wouldn't be surprised if there are  
bugs as it isn't very well tested.

Jesse

On 28-Apr-08, at 9:54 AM, Francisco Javier García González wrote:

> Hello.
>
> I'm using udig RC12 and I want undo the last geometry modify  
> programatically when, for example, the modified geometry overlaps  
> with other geometry.
> I implements the IEditManagerListener interface and I have the  
> following sentences:
>
> Map map = (Map) ApplicationGIS.getActiveMap();
>
> map.undo();
>
> but  I don`t get the expected results.
>
> Is there a way to accomplish this?
>
>
> Thanks.
>
> Javier García.
>
> Genasys II Spain, S.A.U
> Ventura de la Vega, 5
> 20014 - Madrid, SPAIN
> www.genasys.com
>
>
> _______________________________________________
> User-friendly Desktop Internet GIS (uDig)
> http://udig.refractions.net
> http://lists.refractions.net/mailman/listinfo/udig-devel



More information about the udig-devel mailing list