Skip to main content



      Home
Home » Eclipse Projects » GEF » Increase selectable Connection Part
Increase selectable Connection Part [message #1803486] Fri, 01 March 2019 08:59 Go to next message
Eclipse UserFriend
When the user double-click on an existing Connection it should make a new part with the detail for that connection and a different type of ConnectionToDetail to that newly created part. This is already achieved:

index.php/fa/34988/0/

The problem is that the selectable area for the Connection is really narrow and hence difficult to click by the user. Thus I wanted to increase that area. How can I do this?

index.php/fa/34987/0/

Oh and also, any advice on how to start the ConnectionToDetail (GREY Dashed connection) in the middle of the existing Connection instead of at the beginning like the 1st image shows?

thanks

[Updated on: Wed, 06 March 2019 06:27] by Moderator

Re: Increase selectable Connection Part [message #1803673 is a reply to message #1803486] Wed, 06 March 2019 09:40 Go to previous message
Eclipse UserFriend
I found a workaround which was to use setPickOnBounds function:

visual.setPickOnBounds(true);


But this is not what I want since the other parts are now difficult to select once a ConnectionToDetail is at the front.

[Updated on: Wed, 06 March 2019 13:38] by Moderator

Previous Topic:GEF5 Add multiple parts to Group
Next Topic:GEF5 Moving anchorage of anchored Connections performances
Goto Forum:
  


Current Time: Sat Apr 26 03:47:23 EDT 2025

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

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

Back to the top