Skip to main content



      Home
Home » Modeling » GMF (Graphical Modeling Framework) » Creating multiple links
Creating multiple links [message #107964] Wed, 28 February 2007 23:42 Go to next message
Eclipse UserFriend
Originally posted by: vikas.goyal.hp.com

Hi,
I want to create multiple links between two elements in gmf.
Like I have two elements A and B . I want to create multiple links
between A to B and From B to A . For this I have ABRelation and BARelation
In ABRelation A's target is B for which I set upper bound to -1 and for
BARelation B's Target element is A. I have set it to -1. Single link it is
creating easily But my problem is when I start link from B to A it will
connect to A. But when I try to create link from A to B it is not
allowing me.


Please suggest me on this.

Thanks in Advance

Regards,
Vikas
Re: Creating multiple links [message #108007 is a reply to message #107964] Thu, 01 March 2007 03:17 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: 5d5.mail.ru

Set a breakpoint in B's semantic edit policy at the place where it
creates command to complete link creation. Most likely the command is
not created or not executable; bad mapping?

Vikas Goyal wrote:
> Hi,
> I want to create multiple links between two elements in gmf. Like I
> have two elements A and B . I want to create multiple links between A to
> B and From B to A . For this I have ABRelation and BARelation In
> ABRelation A's target is B for which I set upper bound to -1 and for
> BARelation B's Target element is A. I have set it to -1. Single link it
> is creating easily But my problem is when I start link from B to A it
> will connect to A. But when I try to create link from A to B it is not
> allowing me.
>
> Please suggest me on this.
>
> Thanks in Advance
>
> Regards,
> Vikas
>
>
>
>
>
Re: Creating multiple links [message #108069 is a reply to message #108007] Thu, 01 March 2007 04:20 Go to previous message
Eclipse UserFriend
Originally posted by: vikas.goyal.hp.com

Set a breakpoint in B's semantic edit policy at the place where it creates
Thanks Stadnik,

I am able to create single link. My problem is some thing like From a
menu I want to link different choices .




Menu|-----> Choice1
|----> Choice2
|----> Choice3

For this I have menuChoiceRelation. On target I have choice . I have set
its upper bound to -1.

I can't create multiple out going links to choice only means I can create
one out going link from menu to choice and a link from menu to other
element . I can't create two link between a menu and two choices.

Please suggest

Thanks
Vikas
Previous Topic:Propertysheet Help required
Next Topic:Links with "Feature Seq Initializer" still don't work.
Goto Forum:
  


Current Time: Tue Jul 22 00:50:58 EDT 2025

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

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

Back to the top