|
Re: Can we determine incoming connections from the impl? [message #199303 is a reply to message #199295] |
Mon, 28 July 2008 20:34 |
Eclipse User |
|
|
|
Originally posted by: cdamus.zeligsoft.com
Hi, Brian,
The GMF runtime automatically adds a CrossReferenceAdapter to your
resource set. You can use the API that it defines (and that it
inherites from ECrossReferenceAdapter in EMF) to find objects that
reference some target object using a given EReference.
HTH,
Christian
Brian Jakubik wrote:
> I'm trying to setup some validation rules, and want to ensure that every
> node on my diagram has an incoming connection? Is there a way from the
> impl to get the incoming connections if they exist?
>
> This would also be useful in my future to make sure that certain nodes
> have a particular type of node as a "parent" in the tree..., though the
> parent can have * different types as children.
>
> Thanks in advance
> Brian Jakubik
|
|
|
|
Powered by
FUDForum. Page generated in 0.05060 seconds