Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Connection Handles not working in BorderItemEditPart?
Connection Handles not working in BorderItemEditPart? [message #236267] Thu, 16 July 2009 11:50 Go to next message
Peter Lang is currently offline Peter LangFriend
Messages: 153
Registered: July 2009
Senior Member
Hi,

I'm trying to make use of the Connection Handles in a model where links
start and/or end at border items.
These links can be drawn as expected using the tool, but when I use the
Connection Handle of the child-node, it will always display the
"restricted" symbol while over a valid target and not allow me to create
the link. The only thing I can create is a Note Attachment.
This applies for both the incoming and the outgoing handle.

When I define a link from super-node to super-node it works fine, but as
soon as a child-node is involved (super->child, child->super,
child->child) the link can not be created anymore using the handles.

Any hints on how to proceed, anyone else have this problem?

Thanks in advance,
Peter
Re: Connection Handles not working in BorderItemEditPart? [message #237082 is a reply to message #236267] Tue, 21 July 2009 11:25 Go to previous messageGo to next message
Peter Lang is currently offline Peter LangFriend
Messages: 153
Registered: July 2009
Senior Member
Any ideas?

> Hi,

> I'm trying to make use of the Connection Handles in a model where links
> start and/or end at border items.
> These links can be drawn as expected using the tool, but when I use the
> Connection Handle of the child-node, it will always display the
> "restricted" symbol while over a valid target and not allow me to create
> the link. The only thing I can create is a Note Attachment.
> This applies for both the incoming and the outgoing handle.

> When I define a link from super-node to super-node it works fine, but as
> soon as a child-node is involved (super->child, child->super,
> child->child) the link can not be created anymore using the handles.

> Any hints on how to proceed, anyone else have this problem?

> Thanks in advance,
> Peter
Re: Connection Handles not working in BorderItemEditPart? [message #467913 is a reply to message #237082] Mon, 03 August 2009 11:32 Go to previous message
Peter Lang is currently offline Peter LangFriend
Messages: 153
Registered: July 2009
Senior Member
The problem seems to be, that in plugin.xml for extension
point="org.eclipse.gmf.runtime.emf.ui.modelingAssistantProviders " only the
Top-Level nodes are considered (FOREACH topLevelNodes).

When I add my border-node-items to that list, Connection Handles work as
expected.

Am I breaking something else by adding them?

Is this a bug, should it be "FOREACH getAllNodes()"?

Regards, Peter
Previous Topic:how to get editor export image ,if the gmf editor is closed;
Next Topic:Is it possible to control the possition of both ends of a Connection
Goto Forum:
  


Current Time: Fri Apr 26 16:40:43 GMT 2024

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

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

Back to the top