Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » Notification on metamodel changes
Notification on metamodel changes [message #1792942] Thu, 26 July 2018 08:35 Go to next message
Torben Eckwert is currently offline Torben EckwertFriend
Messages: 2
Registered: July 2018
Junior Member
Hi,

I have a question. Is it possible to register a notifier on an ecore metamodel. I want to get informed when my ecore metamodel gets changed.

Is it somehow possible to override the fireNotifyChangedMethod in the class EcoreItemProviderAdapterFactory?

Thanks a lot

Torben

Re: Notification on metamodel changes [message #1792965 is a reply to message #1792942] Thu, 26 July 2018 15:30 Go to previous messageGo to next message
Ed Willink is currently offline Ed WillinkFriend
Messages: 6037
Registered: July 2009
Senior Member
Hi

See org.eclipse.emf.ecore.resource.impl.ResourceImpl.setTrackingModification

Regards

Ed Willink
Re: Notification on metamodel changes [message #1793132 is a reply to message #1792965] Tue, 31 July 2018 12:55 Go to previous message
Torben Eckwert is currently offline Torben EckwertFriend
Messages: 2
Registered: July 2018
Junior Member
Hi
thanks for your reply. That should do the trick.

Best regards

Torben
Previous Topic:[CDO] Individual access rights for many resources
Next Topic:Modeling Symposium @ EclipseCon Europe 2018
Goto Forum:
  


Current Time: Thu Sep 20 02:16:49 GMT 2018

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

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

Back to the top