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
Member
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?

Wladimir
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: 169
Registered: July 2009
Location: Palaiseau, France
Senior Member
Hi,

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 org.eclipse.papyrus.core.services (look in the plugin.xml).

HTH,
Rémi


Remi Schnekenburger

Get professional Eclipse developer support:
http://eclipsesource.com/en/services/developer-support/
Previous Topic:Apply stereotypes to InstanceSpecification
Next Topic:Create diagram action
Goto Forum:
  


Current Time: Tue Apr 23 07:32:55 GMT 2024

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

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

Back to the top