Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Connection drag from one port to other port
Connection drag from one port to other port [message #200668] Wed, 06 August 2008 06:21 Go to next message
Nagesh is currently offline NageshFriend
Messages: 55
Registered: July 2009
Member
Hello,

I have a component and border of this component contains border items
ports. For each port a polyline is connected. Now the problem is I can
drag these connection from one port and stick to other port. How can I
restrict this?.

Thanks In Advance,
Nagesh Y.J.
Re: Connection drag from one port to other port [message #200966 is a reply to message #200668] Thu, 07 August 2008 06:37 Go to previous message
Nagesh is currently offline NageshFriend
Messages: 55
Registered: July 2009
Member
Hello,

I got the solution. I have class called xxxConnectionReorientCommand and
function called canReorientSource or canReorientTarget. From this function
returning false will solve the problem.

Nagesh Y.J.


Nagesh wrote:

> Hello,

> I have a component and border of this component contains border items
> ports. For each port a polyline is connected. Now the problem is I can
> drag these connection from one port and stick to other port. How can I
> restrict this?.

> Thanks In Advance,
> Nagesh Y.J.
Previous Topic:Standalone RCP application and plugin dependencies
Next Topic:size and format of tool icons????
Goto Forum:
  


Current Time: Thu Apr 25 19:34:33 GMT 2024

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

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

Back to the top