[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[News.eclipse.technology.gmf] Modifying the generated code

Several of the threads on this board seem to recommend either changes or additions to the generated code. How many people using GMF are able to create a usable editor entirely from the models, versus how many are finding that they have to modify the generated code?

If you have modified the generated code, how do you go about it? Is it necessary to have a deep understanding of GEF to proceed?

My current problem involves having levels in my ECORE model that do not correspond to graphical items in the editor. In response to my question, Artem Tikhomirov recommended:

> You'll face an issue than, that there's nothing you can put as
> containment reference into ChildReference. Just ignore the warning and
> proceed with generation. After that, you'll need to change child's
> creation command to create/retrieve body and child list instances.

I am afraid that I don't even know where to start looking for the child's creation command.

Arthur Molin