Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Papyrus » Papyrus save notification
Papyrus save notification [message #651189] Fri, 28 January 2011 10:08 Go to next message
Wladimir Schamai is currently offline Wladimir SchamaiFriend
Messages: 53
Registered: May 2010
Hi all,

I would like to start the code generator each time the Papyrus model was saved succesfully. Does anybody know how to get the notification that the Papyrus model was saved?

Re: Papyrus save notification [message #651676 is a reply to message #651189] Tue, 01 February 2011 08:43 Go to previous message
Remi Schnekenburger is currently offline Remi SchnekenburgerFriend
Messages: 168
Registered: July 2009
Location: Palaiseau, France
Senior Member

such a service is implemented in Papyrus, for example in the profile diagram. We proceed to some "pre-save" actions, to define profiles.
You will find the implementation in the custom source of the profile diagram, in the class org.eclipse.papyrus.diagram.profile.service.PreSaveProfileLi stener

This class is used by the class org.eclipse.papyrus.diagram.profile.service.ProfileService, which is declared in the extension point (look in the plugin.xml).


Remi Schnekenburger

Get professional Eclipse developer support:
Previous Topic:Apply stereotypes to InstanceSpecification
Next Topic:Create diagram action
Goto Forum:

Current Time: Mon Sep 28 07:10:44 GMT 2020

Powered by FUDForum. Page generated in 0.01430 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top