Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Visual Editor (VE) » Visual Editor and EMF
Visual Editor and EMF [message #126496] Tue, 20 June 2006 04:28 Go to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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
Previous Topic:use of internal apis
Next Topic:Nebula question....anyone used this grid ?
Goto Forum:
  


Current Time: Fri Apr 26 22:32:09 GMT 2024

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

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

Back to the top