Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Papyrus » Monitor/log changes made to a UML model
Monitor/log changes made to a UML model [message #629139] Mon, 27 September 2010 11:00 Go to next message
Eclipse UserFriend
Originally posted by: koen.yskout.cs.kuleuven.be

Hi,

To setup and perform a research experiment, I would like to monitor and
log all changes made to a UML model made by the experiment's subjects
(only changes to the .uml model, eg. not the diagram info such as
position, color etc).

My first idea would be to use the notification mechanism of EMF on the
..uml model root, and attach a logging adapter whenever an editor is opened.

Before I start implementing this, can somebody provide some insight on
whether this will work, and/or have a (better) idea on how to tackle
this and where to start? Is there maybe some part of the Papyrus
framework that provides (part of) this functionality?

Kind regards,

Koen
Re: Monitor/log changes made to a UML model [message #630247 is a reply to message #629139] Fri, 01 October 2010 10:08 Go to previous message
Remi Schnekenburger is currently offline Remi SchnekenburgerFriend
Messages: 169
Registered: July 2009
Location: Palaiseau, France
Senior Member
Hi Koen,

you should look to the modelListener extension point of Papyrus. It seems to fill perfectly your requirements. It listens to the modification made on the UML model. You can find some use of this extension point in the org.eclipse.papyrus.diagram.common plugin, where it appears 2 times. The first implementation is a listener that listens to the profile (un)application, a second one works with stereotypes (un)application.

The plugin defining this extension point is the org.eclipse.papyrus.core plugin, if you need further information.

Cheers
Rémi


Remi Schnekenburger

Get professional Eclipse developer support:
http://eclipsesource.com/en/services/developer-support/
Previous Topic:Help needed on how to translate diagram and diagram elements.
Next Topic:Opening a papyrus UML diagram editor programatically
Goto Forum:
  


Current Time: Tue Apr 23 17:22:58 GMT 2024

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

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

Back to the top