Ports/anchors with Affixed Parent Side [message #177261] |
Fri, 14 March 2008 08:33 ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
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 #177572 is a reply to message #177261] |
Mon, 17 March 2008 05:09 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: amsurana.in.ibm.com
This is a multipart message in MIME format.
--=_alternative 001C54906525740F_=
Content-Type: text/plain; charset="US-ASCII"
Hi
I have come across your problem of placing PORTS affixed on PARENTS side.
can explain with a simple example.
Say u have a component and want Port affixed on its side.
You can follw this procedure to do this task.
Add Port in GMF Graph.
'When creating "Node" for Port there is a property called "Affixed Parent
Side". Set this property from list of choices as required.
Next add this Port as CHILD REFERENCE to the Component in GMF Mapping.
Hierarchy goes like this
Top Node Reference -> Component
Chiild Reference -> Port
(Note: Please do not add this Port into any compartment mapping of the
Component.)
Hope this was your problem.
Cheers,
Amit
--=_alternative 001C54906525740F_=
Content-Type: text/html; charset="US-ASCII"
<br><font size=2 face="sans-serif">Hi </font>
<br><font size=2 face="sans-serif">I have come across your problem of placing
PORTS affixed on PARENTS side. </font>
<br><font size=2 face="sans-serif">can explain with a simple example. </font>
<br>
<br><font size=2 face="sans-serif">Say u have a component and want Port
affixed on its side. </font>
<br><font size=2 face="sans-serif">You can follw this procedure to do this
task. </font>
<br>
<br><font size=2 face="sans-serif">Add Port in GMF Graph. </font>
<br><font size=2 face="sans-serif">'When creating "Node" for
Port there is a property called "Affixed Parent Side". Set this
property from list of choices as required. </font>
<br>
<br><font size=2 face="sans-serif">Next add this Port as CHILD REFERENCE
to the Component in GMF Mapping. </font>
<br><font size=2 face="sans-serif">Hierarchy goes like this </font>
<br><font size=2 face="sans-serif">Top Node Reference -> Component </font>
<br><font size=2 face="sans-serif"> Chiild Reference
-> Port</font>
<br><font size=2 face="sans-serif">(Note: Please do not add this Port into
any compartment mapping of the Component.)</font>
<br>
<br><font size=2 face="sans-serif">Hope this was your problem. </font>
<br>
<br>
<br><font size=2 face="sans-serif">Cheers, </font>
<br><font size=2 face="sans-serif">Amit</font>
--=_alternative 001C54906525740F_=--
|
|
|
|
Powered by
FUDForum. Page generated in 0.03453 seconds