Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » GMF - Drag Drop on Connection(GMF - Drag Drop on Connection)
GMF - Drag Drop on Connection [message #669847] Wed, 11 May 2011 19:12 Go to next message
SC  is currently offline SC Friend
Messages: 15
Registered: November 2009
Junior Member
Hello,

I have created a pallete based editor where on Drag of node from pallete to a connection, you see a feedback (used XYLayoutPolicy), now on mouseDown event once you see feedback (or when you are over connection), we need to create the node and change the connection also.

Please can you give me any pointers of doing it? Thanks
Re: GMF - Drag Drop on Connection [message #671105 is a reply to message #669847] Mon, 16 May 2011 19:12 Go to previous message
SC  is currently offline SC Friend
Messages: 15
Registered: November 2009
Junior Member
Hello,

I am able to create the nodes by overriding "protected Command getCreateCommand(CreateRequest request)" in XYLayoutEditPolicy. But now the node does not get created at the place where I do mouseDown. Any pointers? Thanks
Previous Topic:Build GMF Editor without Dashboard
Next Topic:Adding a compartment to my node
Goto Forum:
  


Current Time: Thu Apr 25 07:17:43 GMT 2024

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

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

Back to the top