[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.modeling.gmf] Re: Create gmfgen from gmfmap and generate code

Hi Julia,

Ok to be more precise.

I have an .ecore model from which I am able to automatically (programmatically) create the .genmodel and generate the java code for the model,edit,editor projects. This is performed by running an ant script that makes use of the EcoreGeneratorTask to generate the .genmodel and the java code. Not by using the Eclipse EMF capabilities, e.g. right click on genmodel and choose "Generate Model Code". Using this automatic task I can generate the code and run an instance of the EMF tree-based editor to define my models.

Now I want to do the same for the diagram GMF-based editor. I have the gmfmap model and I don't want to right-click on it and choose "Create generator model" and the right click on .gmfgen to choose "Generate diagram code"; via the eclipse GMF capabilities. What I want is to automate this task programmatically or via an ant script as in the first case.

And yes I have read most of the tutorials. I hope my clarification is precise so that anyone can provide me with some guidelines how to start doing that?

Thanks,

Achilleas