how to link node from compartment to another node [message #222231] |
Sun, 22 March 2009 11:32 |
Eclipse User |
|
|
|
Originally posted by: slunker.azet.sk
Hi all,
I have 2 nodes - Command and Form. I want to have Command nodes in Form
node, and I want have Command nodes link to another Form node.
So I have a compartment within Form node, I can put Command nodes in it,
but when I want to link some Command node to another Form node, I cant
do it. When I point with Connection tool to Command it shows me "not
allowed", but when I point to Form node it shows me "allowed", so I can
link only one Form node to another. And If there is no Command node in
Form node and I connect this Form with another Form, a new Command node
is created in the first Form node? Can you please help me? I want GMF to
show links from Command node to another Form node. Now GMF shows only
link from one Form node to another Form node.
thanks
|
|
|
|
Re: how to link node from compartment to another node [message #222479 is a reply to message #222445] |
Tue, 24 March 2009 10:03 |
Eclipse User |
|
|
|
Originally posted by: slunker.azet.sk
Yes, my Command node is a normal node in my diagram and I have set
ListLayout to false but it just didnt work.
I found a solution but its not what I want> I created a new node in my
domain model named Relationship and in this node I store source and
target of the relationship - source is Command node and target is Form
node. And it works fine, but that its not what I want.
slunker
Alex Shatalin wrote:
> Hello slunker,
>
> Is "Command" node represented just as a label on your diagram? Try
> making it "normal" node + setting isListLayout -> false for this
> compartment.
>
> -----------------
> Alex Shatalin
>
>
|
|
|
|
Powered by
FUDForum. Page generated in 0.02226 seconds