Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Undo and Redo? (Read 1159 times)
venki5star
Junior Member
**
Offline



Posts: 82
Location: India
Joined: Mar 9th, 2010
Undo and Redo?
Apr 20th, 2010 at 11:29am
Print Post  
Hi,
My process goes like this, i create a shape node, inside which i will have one table node. This shape node will be placed in the diagram. The user will be allowed to drop images, delete images, change the name...

I want Undo and Redo to handle every single step (or a group of steps as a single step) which happens in the diagram.

I know the UndoManager.undo and UndoManager.Redo will not accomplish it.

How to achieve custom undo and redo?
  

Castle Rider
Back to top
WWW  
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Undo and Redo?
Reply #1 - Apr 20th, 2010 at 12:49pm
Print Post  
Hi,

Use the UndoManager.StartComposite method to group several steps into a single undoable action.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint