Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Undo/Redo in Lane Diagrams (Read 2057 times)
David Long
Full Member
***
Offline


I love YaBB 1G - SP1!

Posts: 136
Location: England
Joined: Oct 23rd, 2006
Undo/Redo in Lane Diagrams
Sep 18th, 2009 at 1:36pm
Print Post  
Is it possible to store changes to the Lane Grid in the Undo history?

Changes such as:  insert column, delete column, insert row, delete row, change row/column width, change header text.

DavidL
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Undo/Redo in Lane Diagrams
Reply #1 - Sep 18th, 2009 at 2:27pm
Print Post  
You could create a class derived form Command that implements the Execute, Undo and Redo method by doing the required LaneGrid modifications. Then when you must change the grid, call the Diagram.ExecuteCommand method, passing an instance of your class as an argument.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
David Long
Full Member
***
Offline


I love YaBB 1G - SP1!

Posts: 136
Location: England
Joined: Oct 23rd, 2006
Re: Undo/Redo in Lane Diagrams
Reply #2 - Sep 18th, 2009 at 3:13pm
Print Post  
Yes, that does help.  I've done exactly that for changes to a ShapeNode's Tag data that I wish to undo/redo.

Will the undo/redo of Grid properties be included in a future release of the product?

David
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Undo/Redo in Lane Diagrams
Reply #3 - Sep 19th, 2009 at 10:46am
Print Post  
I'll add this to our todo list, but can't vouch for any release date.

Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint