Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Papyrus » Listener on saving papyrus diagrams
Listener on saving papyrus diagrams [message #909655] Fri, 07 September 2012 14:03 Go to next message
Marc Z is currently offline Marc ZFriend
Messages: 20
Registered: July 2012
Junior Member
Hi all,

is it possible to wirtte a listener which is activated, when a papyrus diagram is saved?
Which extention point can be used for such a purpose?

Best regards,

Re: Listener on saving papyrus diagrams [message #917778 is a reply to message #909655] Thu, 20 September 2012 12:29 Go to previous message
Simon Schwichtenberg is currently offline Simon SchwichtenbergFriend
Messages: 126
Registered: September 2011
Senior Member
Maybe you could register a resource via the extension point
	</extension> looks like this:

public class MyResource extends AbstractBaseModel implements IModel{

	public void loadModel(IPath fullPathWithoutExtension) {
		// do nothing

	public void createModel(IPath fullPath) {
          //do nothing

	public void saveModel() throws IOException {
           //do your stuff here

Previous Topic:Register for Mailing List
Next Topic:Wrapped rather than Truncated Text for Use Case Names in Use Case Diagrams
Goto Forum:

Current Time: Thu May 24 02:33:47 GMT 2018

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

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

Back to the top