Re: Is UndoRedo supported ?
Martin Matula <[email protected]> Fri, 11 Jul 2003 21:03:05 +0200
| Newsgroups | gmane.comp.java.netbeans.modules.mdr.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Anders, no, MDR does not support undo/redo natively, but as you already noted, undo/redo support can be implemented on top of MDR events and JMI API by listening to all the events and reverting the changes when undo is requested. In fact, we had a contributor - Holger Krug - who started to work on undo functionality, he created API for it and discussed it on this list (or maybe on users@ - see archives) - that was about a year ago. As far as I understood, he got most of it working, but then got too busy by other things and never finished it. Maybe you could try to contact him and ask if he could provide some code so that you can try to finish it :). Martin Anders W. Tell wrote: > Hi, > > Before I jump into testing it, I should ask if MDR supports UndoRedo ? > Is it possible to listen to all events and then just play them backwards ? > > kind regards > /anders > >