Hi Rostislav,

you are right the Undo/Redo sections is within the deprecated section of the 
Interaction and the new Interactors do not support Undo/Redo in the last 
release version of the source code.
We recently implemented this functionality for the DataPointSetInteractor (just 
merged in the master a week ago*) and it will also be included in the next 
release.
The documentation still needs updating and extending but the concept of the 
Undo/Redo has not changed, so the information there still valid (at least in 
the current master).  Also the DataPointSetInteractor.cpp is intended as a 
reference/documented implementation for Undo/Redo and the comments [ 1) - 7) ] 
in the  mitk::PointSetDataInteractor::AddPoint function describe the basic 
steps to implement Undo/Redo in your Interactors.

Lets us know if you need more information/help!

Cheers,
Christian

*)
If you want to use the Undo/Redo for DataInteractors with an older version you 
can update to the current master or
merge this branch to have the Undo/Redo support:

http://bugs.mitk.org/show_bug.cgi?id=16647


-----Ursprüngliche Nachricht-----
Von: Rostislav Khlebnikov [mailto:[email protected]] 
Gesendet: Montag, 20. Januar 2014 16:28
An: [email protected]
Betreff: [mitk-users] Undo/redo

Dear MITK users,

could you please clarify the current state of Undo/Redo functionality in MITK?
There is a deprecated Interaction and Undo/Redo concepts page, but since it is 
deprecated I assume it is not a good idea to rely on the information in there.
It also looks like the interactors that used to support undo/redo (such as 
PointSetInteractor) no longer support it after migration to the new 
mitk::DataInteractor.

Is there a well-defined Undo/Redo functionality in MITK in its current state? 
Are there any particular plans for undo/redo support?

Best wishes,
    Rostislav.


------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical 
Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to