Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Associate Label with a Link
Associate Label with a Link [message #54200] Fri, 22 September 2006 15:19 Go to next message
Balraj Kannan is currently offline Balraj KannanFriend
Messages: 28
Registered: July 2009
Junior Member
Hi,
How can I associate a label with a link. What I intend to do is as
follows:


___________ ___________
| | Label | |
| NodeA |_____________\| NodeB |
| | /| |
|__________| |__________|

In the xml file I would like the data to be as follows:

<root>
<NodeA conref="#NodeB" linklabel="Label"/>
<NodeB/>
</root>

I tried emulating the examples provided by mindmap and taipan, but I see
there implementation is slightly than what I expect. It generates the a
third element which holds the the link details and the label.

How can I achieve do this? Please suggest.

Thanks In Advance

Regards
Balraj
Re: Associate Label with a Link [message #54253 is a reply to message #54200] Fri, 22 September 2006 15:52 Go to previous message
Eclipse UserFriend
Originally posted by: 5d5.mail.ru

As for now you should define link mapping for 'conref' (as ship
destination in TaiPan) and empty link label mapping. To provide label
text you should write your own parser; you may take some generated
parser and adjust the code to use NodeB instance.

Balraj Kannan wrote:
>
> Hi,
> How can I associate a label with a link. What I intend to do is as
> follows:
>
>
> ___________ ___________ | | Label
> | |
> | NodeA |_____________\| NodeB | | |
> /| |
> |__________| |__________|
>
> In the xml file I would like the data to be as follows:
>
> <root>
> <NodeA conref="#NodeB" linklabel="Label"/>
> <NodeB/>
> </root>
>
> I tried emulating the examples provided by mindmap and taipan, but I see
> there implementation is slightly than what I expect. It generates the a
> third element which holds the the link details and the label.
> How can I achieve do this? Please suggest.
>
> Thanks In Advance
>
> Regards
> Balraj
>
Previous Topic:Keeping synchronized the Layout Constraints in case of ConstrainedToolbarLayout
Next Topic:TargetMetaFeature
Goto Forum:
  


Current Time: Sat Oct 19 10:09:47 GMT 2024

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

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

Back to the top