|
Re: How to recognize what has changed before saving a Papyrus model? [message #653592 is a reply to message #653581] |
Thu, 10 February 2011 11:04 |
|
Yes it is possible you can connect a listener that can listenr all action in the model.
you have to implement a org.eclipse.papyrus.core.listenerservice.IPapyrusListener
and fill the extension point org.eclipse.papyrus.core.modelListener
for example in org.eclipse.papyrus.diagram.common plugin:
<extension
point="org.eclipse.papyrus.core.modelListener">
<listener
description="This listener listens for profile (un)applications to update the palette"
name="PaletteProfileApplicationListener"
realization=" org.eclipse.papyrus.diagram.common.service.PaletteProfileApp licationListener ">
</listener>
</extension>
Patrick
|
|
|
Powered by
FUDForum. Page generated in 0.03681 seconds