Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Connection creation style in GMF
Connection creation style in GMF [message #234039] Thu, 10 May 2007 14:44 Go to next message
Vitaliy Kovalenko is currently offline Vitaliy KovalenkoFriend
Messages: 3
Registered: July 2009
Junior Member
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 04:24 Go to previous message
Alex Boyko is currently offline Alex BoykoFriend
Messages: 200
Registered: July 2009
Senior Member
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 Sep 24 08:05:47 GMT 2024

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

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

Back to the top