Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » GMF - How to create domain model and diagram in one file instead of two?(GMF - How to create domain model and diagram in one file instead of two?)
GMF - How to create domain model and diagram in one file instead of two? [message #499562] Mon, 23 November 2009 11:21 Go to next message
SC  is currently offline SC Friend
Messages: 15
Registered: November 2009
Junior Member
Hello,

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.
Re: GMF - How to create domain model and diagram in one file instead of two? [message #499568 is a reply to message #499562] Mon, 23 November 2009 11:36 Go to previous messageGo to next message
Tobias Emitslöf is currently offline Tobias EmitslöfFriend
Messages: 9
Registered: July 2009
Junior Member
Hi SC,

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
Re: GMF - How to create domain model and diagram in one file instead of two? [message #499811 is a reply to message #499568] Tue, 24 November 2009 09:36 Go to previous messageGo to next message
SC  is currently offline SC Friend
Messages: 15
Registered: November 2009
Junior Member
Thanks very much, this worked.
Re: GMF - How to create domain model and diagram in one file instead of two? [message #500831 is a reply to message #499562] Sun, 29 November 2009 12:02 Go to previous message
Alex Shatalin is currently offline Alex ShatalinFriend
Messages: 141
Registered: July 2009
Senior Member
Hello SC,

See "Same File For Diagram And Model" option of GenEditorGenerator in .gmfgen
model.

-----------------
Alex Shatalin
Previous Topic:Trace plug-in
Next Topic:Extending the diagram from another plugin project?
Goto Forum:
  


Current Time: Fri Apr 19 20:43:05 GMT 2024

Powered by FUDForum. Page generated in 0.02896 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top