Skip to main content



      Home
Home » Eclipse Projects » GEF » Connection creation style in GMF
Connection creation style in GMF [message #234039] Thu, 10 May 2007 10:44 Go to next message
Eclipse UserFriend
Hello!

We can change connection creation policy easily in CreationToolEntry suppling ConnectionDragCreationTool or ConnectionCreationTool. How to do it in GMF? I need to connect two edit parts not by dragging, but clicking:
1) Select connection tool
2) Click on first edit part
3) Click on second edit part
4) Connection is created
Re: Connection creation style in GMF [message #234066 is a reply to message #234039] Fri, 11 May 2007 00:24 Go to previous message
Eclipse UserFriend
Hi,

If GEF's connection creation is enough for you, which, based on what
you've described, looks to be enough (from GEF logic and shapes example
editors) - you can just use GEF's ConnectionCreationTool, i.e. so your
tool entry would be GEF's ConnectionCreationToolEntry.
Hope this helps.

Cheers,
Alex
Previous Topic:Simplifying the UI of connections
Next Topic:DND: How to get dragged item before it is dropped?
Goto Forum:
  


Current Time: Tue Jul 08 09:45:44 EDT 2025

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

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

Back to the top