Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » How to expand the area available for connection in a Node ?
How to expand the area available for connection in a Node ? [message #164934] Mon, 10 December 2007 19:04 Go to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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.
Previous Topic:GenStandardPropertyTab questions
Next Topic:Visible editor bounds
Goto Forum:
  


Current Time: Thu Apr 18 11:22:24 GMT 2024

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

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

Back to the top