[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
[news.eclipse.tools.emf] Re: Generate EMF Model
|
Alfredo,
The code that creates an Ecore model from Java interfaces and Rational Rose
models is in packages org.eclipse.emf.codegen.ecore.java2ecore and
org.eclipse.emf.codegen.ecore.rose2ecore. The XML Schema to ecore converter is
in the XSD project (org.eclipse.xsd.ecore.XSDEcoreBuilder).
Frank.
Alfredo wrote:
> Hey guys,
>
> I'm creating a plugin which should take the UML/java/XML model and should
> generate the EMF model and from there I will generate classes and files.
> I know that there is a wizard that performs this, but I need to generate
> classes a little different to how they are being generated by this wizard.
>
> I look at the tutorials but none of them specify how to create a model
> programmatically. Assuming that I have the UML, java, or XML model, What
> classes do I need to call which will generate the EMF model? I already
> have code which uses the API to access the model.
>
> Thanks,
>
> Alfredo
>
>