[udig-devel] undo last action programatically

Francisco Javier García González fjgarcia at genasys.com
Mon Apr 28 00:54:41 PDT 2008


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




More information about the udig-devel mailing list