Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Increase selectable Connection Part
Increase selectable Connection Part [message #1803486] Fri, 01 March 2019 13:59 Go to next message
João Pedro is currently offline João PedroFriend
Messages: 52
Registered: December 2014
Member
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 11:27]

Report message to a moderator

Re: Increase selectable Connection Part [message #1803673 is a reply to message #1803486] Wed, 06 March 2019 14:40 Go to previous message
João Pedro is currently offline João PedroFriend
Messages: 52
Registered: December 2014
Member
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 18:38]

Report message to a moderator

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


Current Time: Thu Apr 25 08:07:13 GMT 2024

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

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

Back to the top