|Re: Listen for (re)application of a profile [message #1696326 is a reply to message #1696325]
||Mon, 25 May 2015 17:11
|| Christian W. Damus
Registered: July 2009
I should clarify: the Papyrus editor uses this listener internally to |
dispatch ProfileApplicationNotifications on Packages. You don't
interact with the ProfileApplicationListener, as such, but just receive
the notifications in the usual way, via Adapter or ResourceSetListener.
On 2015-05-25 17:08:18 +0000, Christian W. Damus said:
> Hi, Patrik,
> If you're working in Papyrus, have a look at the
> class and search references to it for examples of how it's used. This
> provides a custom notification, sent by a Package, when profiles are
> applied or unapplied. Most significantly, it accounts for "external"
> profile applications that actually don't modify the package at all in
> real EMF terms when they are created and destroyed.
> On 2015-05-25 14:00:24 +0000, Patrik Nandorf said:
>> Is there a way to listen for (re)application of a profile on a model?
>> I'd like to run some code when a profile is applied or updated.
Powered by FUDForum
. Page generated in 0.01639 seconds