Ports/anchors with Affixed Parent Side [message #177261] |
Fri, 14 March 2008 04:33  |
Eclipse User |
|
|
|
Originally posted by: novak.igor.gmail.com
Hi!
I also need the same help defining ports as Davide Rossi posted with
subject "define anchors (should this be a FAQ?)" on 11.3.2008.
I've been struggling to define behaviour with property Affixed Parent
Side, but with no success.
Does anybody has an example of this behaviour working (in .gmfgraph model)
from gmf generated code?
Or, do I need to set this property and then add some extra manual code?
I also do not understand "parent/child relationship between the main
diagram elements and their ports - anchor points in the graph model" as
Davide Rossi stated.
Thanks in advance,
Igor Novak
|
|
|
|
Re: Ports/anchors with Affixed Parent Side [message #547694 is a reply to message #177572] |
Mon, 19 July 2010 07:34  |
Eclipse User |
|
|
|
Hi there,
I'm sorry to ask again about this matter, but I cannot find the solution to my concrete problem.
Igor, I'm setting AffixedParentSide property to the port node in the gmfgraph and then defining the child reference in the gmfmap, but the behavior I get is that, when I add the main element to the diagram, if I leave the cursor over that node, a pop up appears offering me the possibility of adding a port to the control. This is not what I'm looking for.
I want the port to appear already sticked to the element when I add the element to the diagram.
Is this possible?
Thanks!
Carlos
|
|
|
Powered by
FUDForum. Page generated in 0.04882 seconds