Skip to main content



      Home
Home » Modeling » EMF » Notification for Creation of EObject.
Notification for Creation of EObject. [message #376712] Tue, 28 January 2003 11:06 Go to next message
Eclipse UserFriend
Hello,

Is there any way to get notifications for creation of EObjects.

I tried adding a Adapter to my metamodel's EFactory but it doesn't notify
the adapter for the creation of metaobjects.

Maneesh
Re: Notification for Creation of EObject. [message #376713 is a reply to message #376712] Tue, 28 January 2003 11:44 Go to previous message
Eclipse UserFriend
Maneesh,

No, the creation of a derived EObject by an EFactory is an operation, not a
state change to a feature. Only state changes produce notification. You
could hand code notification on creation for your derived EFactoryImpl...

Maneesh wrote:

> Hello,
>
> Is there any way to get notifications for creation of EObjects.
>
> I tried adding a Adapter to my metamodel's EFactory but it doesn't notify
> the adapter for the creation of metaobjects.
>
> Maneesh

--
Ed Merks
Previous Topic:Why didn't EMF use the UML meta-model and the MOF?
Next Topic:Copying an EObject from one Resource to other
Goto Forum:
  


Current Time: Wed Nov 05 11:33:21 EST 2025

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

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

Back to the top