Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » how to link node from compartment to another node
how to link node from compartment to another node [message #222231] Sun, 22 March 2009 11:32 Go to next message
Eclipse UserFriend
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 #222445 is a reply to message #222231] Tue, 24 March 2009 00:06 Go to previous messageGo to next message
Alexander Shatalin is currently offline Alexander ShatalinFriend
Messages: 2928
Registered: July 2009
Senior Member
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
Re: how to link node from compartment to another node [message #222479 is a reply to message #222445] Tue, 24 March 2009 10:03 Go to previous messageGo to next message
Eclipse UserFriend
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
>
>
Re: how to link node from compartment to another node [message #223258 is a reply to message #222479] Mon, 30 March 2009 14:46 Go to previous message
Alexander Shatalin is currently offline Alexander ShatalinFriend
Messages: 2928
Registered: July 2009
Senior Member
Hello slunker,

And how do you describe a link from Form to Command normally (then it is
not working)?

-----------------
Alex Shatalin
Previous Topic:multiple diagrams, one editor + navigator
Next Topic:Object Property change is not reflected in the diagram
Goto Forum:
  


Current Time: Thu Mar 28 17:35:25 GMT 2024

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

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

Back to the top