[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.modeling.gmf] Re: Practicalities of GMF

Hello Martin,

element or attribute to my model, can I go back and regenerate all my
files without wasting all the work I have done to set them up? Or say
As much as it possible - yes. :-)

I want to make changes to the graphical model, how can I do this using
GMF without overwriting any changes that I have made to my code?
use @generated NOT javadoc comment to protect your class/method from any modifications on next code generation.

Of is GMF just something intended to be used once, then all subsequent
changes are made to the code?
No, it is supposed to be used in step-by-step development.

then switch to just editing the models as a plugin?
Sure you can edit EMF/GMF - generated plugins manually or write your own additional plugins. I have to add only one thimg: i suggest you to generate as much as it possible and use custom code modifications only then it is necessary. Sure, additional plugins (especially providing some non-GMF functionality) are absolutely legal and you can write your own..

-----------------
Alex Shatalin