Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Graphiti » Disable moving an end connection(Disable moving an end connection to another shape)
Disable moving an end connection [message #1719440] Thu, 07 January 2016 21:48 Go to next message
Peter Tran is currently offline Peter TranFriend
Messages: 7
Registered: February 2015
Junior Member
Let's say I have a connection between a source and a target shape. Currently, I can move the connection from the source to another target in the canvas. What is the best way to disable this?
Re: Disable moving an end connection [message #1719457 is a reply to message #1719440] Fri, 08 January 2016 07:52 Go to previous messageGo to next message
Krisztian Koncz is currently offline Krisztian KonczFriend
Messages: 31
Registered: September 2014
Location: Budapest
Member

Have you tried to override the getReconnectionFeature in your FeatureProvider?

@Override
public IReconnectionFeature getReconnectionFeature(IReconnectionContext context) {
	return null;
}
Re: Disable moving an end connection [message #1719542 is a reply to message #1719457] Fri, 08 January 2016 17:44 Go to previous message
Peter Tran is currently offline Peter TranFriend
Messages: 7
Registered: February 2015
Junior Member
Thanks! That was exactly what I needed!
Previous Topic:Can't correctly position anchor on the border of the shape
Next Topic:Call add feature from within a custom feature
Goto Forum:
  


Current Time: Sat Jul 21 11:08:33 GMT 2018

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

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

Back to the top