Undo a feature [message #1100923] |
Tue, 03 September 2013 20:03 |
|
Hi,
In an update feature, I modify an Graphic Algorithm Text object using an EMF object. Then I invoke undo by pressing Ctrl-z. I wonder if there some mechanism available to sync the Text value and EMF object after an undo is performed?
Thanks
Jack
|
|
|
|
Re: Undo a feature [message #1102354 is a reply to message #1101428] |
Thu, 05 September 2013 17:25 |
|
Michael,
Is there any setup step for the ICustomUndoableFeature to work in 0.9.2? I tried this before, the undo method is not invoked by pressing ctrl-z a few times in sequence.
My feature is an update feature, I modify the EMF model from a property view. After that, I invoke the update feature to display the new model value in a Text graphic algorithm. I repeated this step for a few times before I press ctrl-z key a few time.
I thought the update feature's undo method should be invoked at this point. But it is not invoked.
Do I need to set up the link between ctrl-z and this update feature. Just some thoughts.
Thanks
Jack
|
|
|
|
Powered by
FUDForum. Page generated in 0.02985 seconds