Visual Editor and EMF [message #126496] |
Tue, 20 June 2006 04:28 |
Eclipse User |
|
|
|
Originally posted by: JohnE.unoa.info
Hello everybody.
first of all, EMF people say VE team have extended emf in order to
achieve the functionality i need, can you tell me if this is possible:
The requirement is this: lets say i have a .ecore file or a
programmaticlly made ecore model, whit my metamodel.
the applications starts and the user make several instances of the
metamodel and work with them, what happens if i need to change the
metamodel to reflect domain changes,
for example "now we need to know the persons father first name"
according to OO i will add an attribute to "person" but, emf doesnt
allowme this.
In other context this is known as "dynamic objects", is this possible to
archive this functionality using EMF with the extensions you have added?
The problems arises when i need to add a EStructuralFeature to a EClass,
if there are already model instances of the model, EMF don't let me add
new features.
|
|
|
Re: Visual Editor and EMF [message #126536 is a reply to message #126496] |
Tue, 20 June 2006 13:24 |
Eclipse User |
|
|
|
Originally posted by: richkulp.us.NO_SPAM.ibm.com
The VE has done this in the IJavaObjectInstances implementations. It
tries to "migrate" an object after it has been changed. It isn't a
general purpose EMF object. You would need to do you own implmentation.
You can use the VE's as a starting point. The main change is in the VE's
subclass of the EProperties object within the IJavaObjectInstance
implementation.
--
Thanks,
Rich Kulp
|
|
|
Re: Visual Editor and EMF [message #613373 is a reply to message #126496] |
Tue, 20 June 2006 13:24 |
Eclipse User |
|
|
|
Originally posted by: richkulp.us.NO_SPAM.ibm.com
The VE has done this in the IJavaObjectInstances implementations. It
tries to "migrate" an object after it has been changed. It isn't a
general purpose EMF object. You would need to do you own implmentation.
You can use the VE's as a starting point. The main change is in the VE's
subclass of the EProperties object within the IJavaObjectInstance
implementation.
--
Thanks,
Rich Kulp
|
|
|
Powered by
FUDForum. Page generated in 0.03468 seconds