Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Snap To Object - GEF5
Snap To Object - GEF5 [message #1833285] Thu, 08 October 2020 12:17
Annamalai Mising name is currently offline Annamalai Mising nameFriend
Messages: 126
Registered: July 2009
Senior Member
We are trying to create a diagram which has Electrical Socket and Plug


We would like to attach the Socket and Plug on click on Attach Button
And then when we move the Socket, the Plug has to move along with it.

Then when we click on Detach, the Socket and Plugin have to move apart and then they are free to move alone.

How do i achieve this using GEF5. Is there any example for Snap to Object concept.
Or atleast any pointer that could explain how to achieve this.


[Updated on: Thu, 08 October 2020 12:32]

Report message to a moderator

Previous Topic:Placing Child Elements inside Nodes in GEF5
Next Topic:Add LayoutAlgorithm in MinMap example
Goto Forum:

Current Time: Sat Dec 09 13:05:08 GMT 2023

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

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

Back to the top