Skip to main content



      Home
Home » Modeling » GMF (Graphical Modeling Framework) » Connection handles
Connection handles [message #106642] Sat, 24 February 2007 14:39 Go to next message
Eclipse UserFriend
I've noticed that when you drag a connection handle from
a node it only lists connections that are mapped to target features
directly owned by the node's class. So, connections associated
with inherited features are not displayed.

Is there a way to get all the connections?

Thanks,

Andy
Re: Connection handles [message #106840 is a reply to message #106642] Mon, 26 February 2007 09:20 Go to previous message
Eclipse UserFriend
Andy,

I don't know if the code generator can handle this, but you can
definitely modify the generated code to support this.

Modify your XXXModelingAssistantProvider to return the types associated
with inherited features. Look at the javadoc of all the methods in the
IModelingAssistantProvider to know which ones you need to override.

Regards,
Cherie

ase wrote:
> I've noticed that when you drag a connection handle from
> a node it only lists connections that are mapped to target features
> directly owned by the node's class. So, connections associated
> with inherited features are not displayed.
>
> Is there a way to get all the connections?
>
> Thanks,
>
> Andy
>
>
Previous Topic:popupbar item grayed out
Next Topic:ShapeNodeEditPart and AbstractBorderedShapeEditPart
Goto Forum:
  


Current Time: Thu Jul 24 14:09:49 EDT 2025

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

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

Back to the top