|
|
|
|
|
Re: How can I combine nested feature calls in one command [message #986195 is a reply to message #985799] |
Mon, 19 November 2012 12:18 |
Raghava Rao Messages: 87 Registered: July 2009 |
Member |
|
|
Hello Michael,
Thanks for your reply.
you reply answered my question.I am directly calling respective features execute methods with in a the feature.Now I am able to see the command stack with main feature.
But this undo/redo is not working properly.
Looks like Undo/ redo operations are also getting executed in the Command Stack.
If I create three shapes E, C ,F in order.
On First Undo it should remove F
On Second Undo It should remove C
On Third Undo It should remove E
I think this should be behaviour for undo.But last undo operation also exected in Command stack.
Is this a bug in graphiti?
One more question regarding Update command..
if Editor and Properties view are using same transcational editing domain.so all the command will be executed in one command stack.
Any Model change will lead to update command in Editor.
So In command stack last command will be Update command.On undo shape will not have updated model data,so red font will be displayed to respective Shape.
How can I avoid this? How can avoid adding Update command to command stack.
please suggest me.
Thanks,
Raghav
[Updated on: Mon, 19 November 2012 12:18] Report message to a moderator
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04411 seconds