creating GMF files from dashboard [message #196637] |
Fri, 11 July 2008 07:51  |
Eclipse User |
|
|
|
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 10:53  |
Eclipse User |
|
|
|
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!
|
|
|
Powered by
FUDForum. Page generated in 0.05574 seconds