Skip to main content



      Home
Home » Modeling » Epsilon » [EuGENia] more than one affixed node on the single containing node
[EuGENia] more than one affixed node on the single containing node [message #635852] Thu, 28 October 2010 07:22 Go to next message
Eclipse UserFriend
Hi All,

The article on "Affixed Nodes in GMF" where containment reference nodes are affixed to the edges of the containing node works just great. Thanks

The question is now, when there is more than one affixed node on the single containing node, the affixed nodes overlap. Is there any way how to specify specific point or edge for affixed node on containing node?
For example in the code below, how to give each specific "Port" an specific edge in the "Component"

@gmf.node(label="name")
class Component  {
 attr String name;

 @gmf.affixed(foo="bar")
 val PortOne[*] portone;
 val PortTwo[*] porttwo;
 val PortThree[*] portthree;
}

@gmf.node(figure="rectangle", size="20,20", label="name",
  label.placement="external", label.icon="false")
class PortOne  {
 attr String name;
}

@gmf.node(figure="rectangle", size="20,20", label="name",
  label.placement="external", label.icon="false")
class PortTwo  {
 attr String name;
}
@gmf.node(figure="rectangle", size="20,20", label="name",
  label.placement="external", label.icon="false")
class PortThree  {
 attr String name;
}



kindly,
Syed Imran
Re: [EuGENia] more than one affixed node on the single containing node [message #635855 is a reply to message #635852] Thu, 28 October 2010 07:29 Go to previous messageGo to next message
Eclipse UserFriend
Hi Syed,

There's nothing in EuGENia that specifically targets this issue. I
realize that the GMF newsgroup is not particularly responsive lately but
I guess your best bet is to post a question about this there anyway.

Cheers,
Dimitris

Syed Imran wrote:
> Hi All,
>
> The article on "Affixed Nodes in GMF" where containment reference nodes
> are affixed to the edges of the containing node works just great. Thanks
>
> The question is now, when there is more than one affixed node on the
> single containing node, the affixed nodes overlap. Is there any way how
> to specify specific point or edge for affixed node on containing node?
> For example in the code below, how to give each specific "Port" an
> specific edge in the "Component"
>
>
> @gmf.node(label="name")
> class Component {
> attr String name;
>
> @gmf.affixed(foo="bar")
> val PortOne[*] portone;
> val PortTwo[*] porttwo;
> val PortThree[*] portthree;
> }
>
> @gmf.node(figure="rectangle", size="20,20", label="name",
> label.placement="external", label.icon="false")
> class PortOne {
> attr String name;
> }
>
> @gmf.node(figure="rectangle", size="20,20", label="name",
> label.placement="external", label.icon="false")
> class PortTwo {
> attr String name;
> }
> @gmf.node(figure="rectangle", size="20,20", label="name",
> label.placement="external", label.icon="false")
> class PortThree {
> attr String name;
> }
>
>
>
> kindly,
> Syed Imran
Re: [EuGENia] more than one affixed node on the single containing node [message #635875 is a reply to message #635855] Thu, 28 October 2010 09:13 Go to previous message
Eclipse UserFriend

Sure, I will do so.
Thanks Dimitris,


regards,
Syed Imran
Previous Topic:Cannot find object feature using ETL even though the object feature already exists
Next Topic:Implicit Collect
Goto Forum:
  


Current Time: Wed Jul 23 11:36:33 EDT 2025

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

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

Back to the top