Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » GMF Customization Help - Recreate Connection on drop of a node(GMF Customization Help - Recreate Connection on drop of a node)
GMF Customization Help - Recreate Connection on drop of a node [message #519908] Wed, 10 March 2010 13:30 Go to next message
SC  is currently offline SC Friend
Messages: 15
Registered: November 2009
Junior Member
Hello,

I have created a editor using GMF. One of the requirements is that on dropping a node element on a connection (wire), it should recreate the connections and the newly created node is connected in the right place.

Please point me to any relevant help on this topic.

Thanks
Re: GMF Customization Help - Recreate Connection on drop of a node [message #520652 is a reply to message #519908] Sat, 13 March 2010 13:48 Go to previous message
Ali Koudri is currently offline Ali KoudriFriend
Messages: 118
Registered: July 2009
Senior Member
In your DnD policy, you have to chain a command that restore connections
to the one which create the corresponding view. See also the
"CreateConnectionRequest" class as well as the its nested
"ConnectionViewDescriptor" class.

Cheers.

Le 10/03/2010 14:30, SC a écrit :
> Hello,
> I have created a editor using GMF. One of the requirements is that on
> dropping a node element on a connection (wire), it should recreate the
> connections and the newly created node is connected in the right place.
> Please point me to any relevant help on this topic.
>
> Thanks
>
Previous Topic:How to get a corresponding view to an element
Next Topic:Canonical Edit Policy synchronization failure?
Goto Forum:
  


Current Time: Thu Sep 24 09:49:03 GMT 2020

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

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

Back to the top