Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsGMF - How to create domain model and diagram in one file instead of two?
https://www.eclipse.org/forums/index.php/mv/msg/158240/499562/#msg_499562
I just finsihed the GMF first tutorial and completed the mindmap example. For our needs, we need domain model and diagram in one file. Is there any option in GMF to do that? Any pointers or direction will be helpful. Please let me know if the question is not clear, can add more details. Thanks.]]>SC 2009-11-23T11:21:28-00:00Re: GMF - How to create domain model and diagram in one file instead of two?
https://www.eclipse.org/forums/index.php/mv/msg/158240/499568/#msg_499568
If you open gmfgen editor and select 'Gen Editor Generator' node and set the attribute 'Same File For Diagram And Model' to true. Also set Diagram and domain file extensions to the same string. E.g. "gmfdiagram".
/ Tobias]]>Tobias Emitslöf2009-11-23T11:36:42-00:00Re: GMF - How to create domain model and diagram in one file instead of two?
https://www.eclipse.org/forums/index.php/mv/msg/158240/499811/#msg_499811
SC 2009-11-24T09:36:56-00:00Re: GMF - How to create domain model and diagram in one file instead of two?
https://www.eclipse.org/forums/index.php/mv/msg/158240/500831/#msg_500831
See "Same File For Diagram And Model" option of GenEditorGenerator in .gmfgen
model.
-----------------
Alex Shatalin]]>Alex Shatalin2009-11-29T12:02:37-00:00