| On Save Action [message #987761] |
Tue, 27 November 2012 18:11  |
Nick Collier Messages: 18 Registered: July 2009 |
Junior Member |
|
|
I'm generating code from my diagram and I'd like to run the generation workflow whenever the diagram is saved. What's the appropriate way to do this? I assume I should add some code to whatever runs the save but I'm not sure where this is, or even if that's the appropriate way.
thanks,
Nick
[Updated on: Tue, 27 November 2012 18:11] Report message to a moderator
|
|
|
| Re: On Save Action [message #987799 is a reply to message #987761] |
Wed, 28 November 2012 03:46  |
Ralph Gerbig Messages: 550 Registered: November 2009 |
Senior Member |
|
|
Hi,
in you xxxDiagramEditor you can override doSave(IProgressMonitor progressMonitor) this will do the jog. If you generation takes a lot of resources you could do it when Eclipse does an automatic build.
Ralph
|
|
|
Powered by
FUDForum. Page generated in 0.01669 seconds