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
Hi,
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?

Thanks
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
classes(players).

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: Sat Jun 06 12:11:20 GMT 2020

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

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

Back to the top