Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » creating GMF files from dashboard
creating GMF files from dashboard [message #196637] Fri, 11 July 2008 11:51 Go to next message
yeliu is currently offline yeliuFriend
Messages: 145
Registered: July 2009
Senior Member
When creating graphical file,tooling file,mapping file,the dialogue ask
for Diagram Element. What kind of class should be selected as Diagram
Element.Is it the container class?
When I create the tooling file, If I selected the container class,next
it will ask Domain model elements to process,why those containment
relations are not selected by default,but rather some other links are
selected.How should we decide what links should be selected and what links
should be ignored for now?

Ye Liu
Re: creating GMF files from dashboard [message #196689 is a reply to message #196637] Fri, 11 July 2008 14:53 Go to previous message
Gary is currently offline GaryFriend
Messages: 125
Registered: July 2009
Senior Member
The diagram element you need to select is the container class as you
suggested however be sure you select the container class to the class you
wish to tool... for example take classes ....field, team and player.
A field can have many teams and a team is made up of many players so if
you wish to map a tool for different teams you would select the field as
the diagram element then you can create a tool which draws instances of
teams onto your field(diagram element).

As for the domain model elements to process, you should now be able to
select the elements belonging to your tooling class (team) and its sub

Hope this makes sence and answers your question!
Previous Topic:DnD in GMF
Next Topic:child referencing also a top node
Goto Forum:

Current Time: Mon Jun 21 12:13:29 GMT 2021

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

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

Back to the top