|
Re: Single-step undo [message #1766904 is a reply to message #1766838] |
Wed, 28 June 2017 16:12  |
|
Hello
When using the Transactional Editing Domain commandStack of the Sirius Session to execute an EMF command, some Sirius precommit listener are called to refresh the diagram that is the change done in the command and the diagram refresh is done in the same EMF transaction. So the undo should undo all the changes.
Perhaps can you provide more precision. You could try to execute your code in a tool defined in the VSM (in that case the java code is already encapsulated in a EMF command executed in the right commandStack)
I am also curious how you did to associate a keyboard shortcut to your command. Feel free to give me some info ;)
regards
Laurent
Laurent Fasani - Obeo
Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
|
|
|
Powered by
FUDForum. Page generated in 0.01561 seconds