[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.tools.emf] Re: HowTo: create Dynamic EMF from Pojos

I don't know of anything that exists to directly solve your problem. It sounds like you might want to just create a static EMF model, generate the code for it, and write code for converting to and from your other model. As the other model changes, you could have converters that are aware of the specific versions of that other model. Or you could find a way to traverse the other model and convert it to XML and vice versa as an indirect way of converting to and from and EMF model....


asaf_lehr wrote:
I was hoping to have a ready-to-use package for anything but the references. If anyone knows classes with useful API (even for partial work), it will be a great help.

The use case I have is creating a visual graph-based GUI to a model  I get from another application.
The model atoms are datatypes which tend to change between releases . As my GUI should be release-agnostic, I`m creating a two phase process:
changing-datatypes --> dynamic-EMF
dynamic-EMF --> GUI

I want to use the EMF capabilities like queries, validations, database persistency etc.