How to increase figure's selectable area? [message #1016489] |
Wed, 06 March 2013 16:31 |
Vitaly Savickas Messages: 62 Registered: March 2010 |
Member |
|
|
I have a small node figure element in my diagram editor that is hard to select due to its size (5x5). Is it possible to increase its selectable area beyond its bounds, say, to be able to select it with a mouse when the pointer is close to it?
The figure is a circle, and acts as a node, which you can draw connections to. And the reason I don't want to increase its size is that it acts as an intermediate node to allow connection splitting to multiple target nodes.
Kind regards,
Vitaly
[Updated on: Wed, 06 March 2013 19:23] Report message to a moderator
|
|
|
|
Re: How to increase figure's selectable area? [message #1016700 is a reply to message #1016562] |
Thu, 07 March 2013 12:13 |
Vitaly Savickas Messages: 62 Registered: March 2010 |
Member |
|
|
Thank you, Andreas. This makes absolute sense.
Now it only requires some selection feedback for the user, as it is ambiguous that items can be selected while the mouse is on an empty canvas. I envision this as either a mouse cursor change or, better, a dynamically drawn selection figure. Any tips which classes/methods need to be overridden?
Btw, in the GMF 3.0 there's a new feature called InvisibleRectangle Figure. Can it also be used for this problem? Or what is it used for?
Regards,
Vitaly
[Updated on: Thu, 07 March 2013 12:31] Report message to a moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.02872 seconds