Home » Modeling » GMF (Graphical Modeling Framework) » documentation of mapping model?
documentation of mapping model? [message #148374] |
Wed, 29 August 2007 11:09  |
Eclipse User |
|
|
|
Hi everybody,
I'm new to GMF. I tried the nice tutorial, but now I want to do a first
own simple project. I have the three needed models, domain, tooling, and
graph. Now I need some assistance with the mapping model. I don't figure
out what elements I need to get the desired behaviour. Is there any
documentation for this? The tutorial is very vague about this and the
GMF documentation at the eclipse online help is no good start either (no
help for beginners, too much implementation stuff, I would say, I did
not find any answers).
Is there any reference documentation for the mapping model? Or maybe any
very verbosely commented metamodel?
Any help?
Cheers,
Hauke
|
|
|
Re: documentation of mapping model? [message #148406 is a reply to message #148374] |
Wed, 29 August 2007 12:45   |
Eclipse User |
|
|
|
Perhaps a specific question here is your best bet. All the documentation
that exists is linked from the wiki. What exactly are you trying to
accomplish in the mapping model that you're having trouble with?
Thanks,
Rich
On 8/29/07 11:09 AM, in article fb4279$5jp$1@build.eclipse.org, "Hauke
Fuhrmann" <haf@informatik.uni-kiel.de> wrote:
> Hi everybody,
>
> I'm new to GMF. I tried the nice tutorial, but now I want to do a first
> own simple project. I have the three needed models, domain, tooling, and
> graph. Now I need some assistance with the mapping model. I don't figure
> out what elements I need to get the desired behaviour. Is there any
> documentation for this? The tutorial is very vague about this and the
> GMF documentation at the eclipse online help is no good start either (no
> help for beginners, too much implementation stuff, I would say, I did
> not find any answers).
>
> Is there any reference documentation for the mapping model? Or maybe any
> very verbosely commented metamodel?
> Any help?
>
> Cheers,
> Hauke
|
|
|
Re: documentation of mapping model? [message #148531 is a reply to message #148406] |
Thu, 30 August 2007 07:38   |
Eclipse User |
|
|
|
Hi Rich,
I lack some VERY basic understanding of the mapping model. What exactly
is a Link and what is a node Mapping? In the first tutorial these are
simply given but not discussed in detail. The wiki shows entries for
Links and Nodes, but Nodes is empty and Links goes right into some detail.
What I want to do in a first step is very simple: A canvas where I can
draw boxes and connect them. So in my domain model I have a box with a
name and a connection with a source and a target.
Now I don't know what goes where in the mapping model. I made a Node
Mapping for the box and a Link Mapping for the Connection. But I can't
figure out the exact meaning of all the parameters there.
What is the Containment Feature? Are these parameters documented somewhere?
Finally I want to add distinct ports to the boxes so the connection do
not start and end at arbitrary positions but only at the specific port.
Without this basics, I can't do that.
Cheers,
Hauke
Richard Gronback wrote:
> Perhaps a specific question here is your best bet. All the documentation
> that exists is linked from the wiki. What exactly are you trying to
> accomplish in the mapping model that you're having trouble with?
>
> Thanks,
> Rich
>
>
> On 8/29/07 11:09 AM, in article fb4279$5jp$1@build.eclipse.org, "Hauke
> Fuhrmann" <haf@informatik.uni-kiel.de> wrote:
>
>> Hi everybody,
>>
>> I'm new to GMF. I tried the nice tutorial, but now I want to do a first
>> own simple project. I have the three needed models, domain, tooling, and
>> graph. Now I need some assistance with the mapping model. I don't figure
>> out what elements I need to get the desired behaviour. Is there any
>> documentation for this? The tutorial is very vague about this and the
>> GMF documentation at the eclipse online help is no good start either (no
>> help for beginners, too much implementation stuff, I would say, I did
>> not find any answers).
>>
>> Is there any reference documentation for the mapping model? Or maybe any
>> very verbosely commented metamodel?
>> Any help?
>>
>> Cheers,
>> Hauke
>
|
|
|
Re: documentation of mapping model? [message #149045 is a reply to message #148531] |
Wed, 05 September 2007 09:09  |
Eclipse User |
|
|
|
Hi Hauke,
I think all of these questions have answers in existing newsgroup threads,
wiki, and tutorial documentation. Unfortunately, a comprehensive
single-source of information of the mapping model (well, all of the models)
does not exist. I am working on this for a book on GMF, but haven't gotten
to the mapping model yet.
For the first step, the tutorial exactly describes what needs to be set in
order to make boxes and connections. It shows a link that is representing a
reference in the domain model, in addition to a link that represents a
domain model class with source and target references.
The containment feature is that feature in the domain model that holds
instances of the domain elements to be created by a node mapping defined in
the mapping model.
Have you looked here?
http://wiki.eclipse.org/GMF_MapModel_Hints
http://wiki.eclipse.org/GMF_Links
Best,
Rich
On 8/30/07 7:38 AM, in article fb6a74$iit$1@build.eclipse.org, "Hauke
Fuhrmann" <haf@informatik.uni-kiel.de> wrote:
> Hi Rich,
> I lack some VERY basic understanding of the mapping model. What exactly
> is a Link and what is a node Mapping? In the first tutorial these are
> simply given but not discussed in detail. The wiki shows entries for
> Links and Nodes, but Nodes is empty and Links goes right into some detail.
>
> What I want to do in a first step is very simple: A canvas where I can
> draw boxes and connect them. So in my domain model I have a box with a
> name and a connection with a source and a target.
>
> Now I don't know what goes where in the mapping model. I made a Node
> Mapping for the box and a Link Mapping for the Connection. But I can't
> figure out the exact meaning of all the parameters there.
> What is the Containment Feature? Are these parameters documented somewhere?
>
> Finally I want to add distinct ports to the boxes so the connection do
> not start and end at arbitrary positions but only at the specific port.
> Without this basics, I can't do that.
>
> Cheers,
> Hauke
>
>
> Richard Gronback wrote:
>> Perhaps a specific question here is your best bet. All the documentation
>> that exists is linked from the wiki. What exactly are you trying to
>> accomplish in the mapping model that you're having trouble with?
>>
>> Thanks,
>> Rich
>>
>>
>> On 8/29/07 11:09 AM, in article fb4279$5jp$1@build.eclipse.org, "Hauke
>> Fuhrmann" <haf@informatik.uni-kiel.de> wrote:
>>
>>> Hi everybody,
>>>
>>> I'm new to GMF. I tried the nice tutorial, but now I want to do a first
>>> own simple project. I have the three needed models, domain, tooling, and
>>> graph. Now I need some assistance with the mapping model. I don't figure
>>> out what elements I need to get the desired behaviour. Is there any
>>> documentation for this? The tutorial is very vague about this and the
>>> GMF documentation at the eclipse online help is no good start either (no
>>> help for beginners, too much implementation stuff, I would say, I did
>>> not find any answers).
>>>
>>> Is there any reference documentation for the mapping model? Or maybe any
>>> very verbosely commented metamodel?
>>> Any help?
>>>
>>> Cheers,
>>> Hauke
>>
|
|
|
Goto Forum:
Current Time: Mon May 12 05:11:34 EDT 2025
Powered by FUDForum. Page generated in 0.04022 seconds
|