How to expand the area available for connection in a Node ? [message #164934] |
Mon, 10 December 2007 19:04 |
Eclipse User |
|
|
|
Originally posted by: marcio.debarros.gmail.com
Hi,
Can anyone please tell me how to make the whole area of a node figure
available to connect to another node when I hover with the mouse on the
top of it ?
I have a Node/Rectangle figure with a label inside it. This figure has a
compartment associated to it, where I can add another objects, which are
not relevant to the connection.
My connection is only between the outside rectangles. Once I have two
rectangles, and try to create a connection between them using my
connection tool, the only place where I can drag the connection out, is
at the label area, on the top of the rectangle.
How can I make the whole figure available as a source of a connection ?
Thanks,
--MD.
|
|
|
Re: How to expand the area available for connection in a Node ? [message #165370 is a reply to message #164934] |
Fri, 14 December 2007 10:25 |
Eclipse User |
|
|
|
Originally posted by: 5d5.mail.ru
See EditPart.getTargetEditPart(Request request);
The idea is to always return top-level node for connection creation request.
Marcio DeBarros wrote:
> Hi,
>
> Can anyone please tell me how to make the whole area of a node figure
> available to connect to another node when I hover with the mouse on the
> top of it ?
>
> I have a Node/Rectangle figure with a label inside it. This figure has a
> compartment associated to it, where I can add another objects, which are
> not relevant to the connection.
>
> My connection is only between the outside rectangles. Once I have two
> rectangles, and try to create a connection between them using my
> connection tool, the only place where I can drag the connection out, is
> at the label area, on the top of the rectangle.
>
> How can I make the whole figure available as a source of a connection ?
>
> Thanks,
>
> --MD.
|
|
|
Powered by
FUDForum. Page generated in 0.01964 seconds