Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Connection with a label
Connection with a label [message #160651] Thu, 15 November 2007 12:45 Go to next message
Eclipse UserFriend
Originally posted by: martin.tauber.t-online.de

Hi everybody,

I'm trying to create a connection with a label, but I don't find any
instructions on how to do that. Checking out the examples doesn't help,
because they are version 1 and not 2 :-( besides the taipan example
which uses labeled connections doesn't have the .gmfgraph model ....

Thanks for any help
Re: Connection with a label [message #160659 is a reply to message #160651] Thu, 15 November 2007 12:49 Go to previous messageGo to next message
Richard Gronback is currently offline Richard GronbackFriend
Messages: 605
Registered: July 2009
Senior Member
The tutorial was recently updated using 2.0.1 and includes relationship
links with labels.

http://wiki.eclipse.org/GMF_Tutorial_Part_2#Mapping_Definiti on_3


On 11/15/07 7:45 AM, in article fhhf36$jt2$1@build.eclipse.org, "Martin
Tauber" <martin.tauber@t-online.de> wrote:

> Hi everybody,
>
> I'm trying to create a connection with a label, but I don't find any
> instructions on how to do that. Checking out the examples doesn't help,
> because they are version 1 and not 2 :-( besides the taipan example
> which uses labeled connections doesn't have the .gmfgraph model ....
>
> Thanks for any help
Re: Connection with a label [message #160667 is a reply to message #160651] Thu, 15 November 2007 12:56 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: andreas.behnke1.gmx.de

Hi Martin,

just go into your .gmfgraph model to the node "Figure Gallery".
Open the figure descriptor of your connection. Beneath this
node you should find some polyline Connection. Add a label
child to this polyline and create all necessary elements for mapping
this label with a feature:
- child access
- diagram label
- the mapping in the .gmfmap file

Martin Tauber schrieb:
> Hi everybody,
>
> I'm trying to create a connection with a label, but I don't find any
> instructions on how to do that. Checking out the examples doesn't help,
> because they are version 1 and not 2 :-( besides the taipan example
> which uses labeled connections doesn't have the .gmfgraph model ....
>
> Thanks for any help
Re: Connection with a label [message #160674 is a reply to message #160667] Thu, 15 November 2007 13:41 Go to previous message
Eclipse UserFriend
Originally posted by: martin.tauber.t-online.de

Thanks Andreas,

after doing some juggeling around I figgered it out :-)

Andreas Behnke wrote:
> Hi Martin,
>
> just go into your .gmfgraph model to the node "Figure Gallery".
> Open the figure descriptor of your connection. Beneath this
> node you should find some polyline Connection. Add a label
> child to this polyline and create all necessary elements for mapping
> this label with a feature:
> - child access
> - diagram label
> - the mapping in the .gmfmap file
>
> Martin Tauber schrieb:
>> Hi everybody,
>>
>> I'm trying to create a connection with a label, but I don't find any
>> instructions on how to do that. Checking out the examples doesn't
>> help, because they are version 1 and not 2 :-( besides the taipan
>> example which uses labeled connections doesn't have the .gmfgraph
>> model ....
>>
>> Thanks for any help
Previous Topic:Find all elements of the same type
Next Topic:Logic Example
Goto Forum:
  


Current Time: Sat Jul 13 22:31:14 GMT 2024

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

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

Back to the top