Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 11:22 Go to next message
Syed Imran is currently offline Syed ImranFriend
Messages: 12
Registered: July 2009
Location: Cork, Ireland
Junior Member
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 11:29 Go to previous messageGo to next message
Dimitrios Kolovos is currently offline Dimitrios KolovosFriend
Messages: 1776
Registered: July 2009
Senior Member
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 13:13 Go to previous message
Syed Imran is currently offline Syed ImranFriend
Messages: 12
Registered: July 2009
Location: Cork, Ireland
Junior Member

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: Thu Apr 25 04:35:00 GMT 2024

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

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

Back to the top