Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Graphiti » Notification of reconnection "abort"
Notification of reconnection "abort" [message #666884] Sat, 23 April 2011 16:19 Go to next message
Craig Petre is currently offline Craig Petre
Messages: 32
Registered: April 2011
Member
I'm looking to find some way of receiving notification of a Reconnection Feature "abort". I'm trying to set the visibility of a PictogramElement to false while a reconnection drag is in progress and then reappear if the connection is dropped before making a reconnection. I have my own class extending DefaultReconnectionFeature and using the "canReconnect" method for notification of the drag start, so I'm able to make the PictogramElement disappear easy enough, but I haven't been able to track down where I might hook in to receive notification of a drag drop or if it is really even possible. Any ideas?

Thanks,
Craig
Re: Notification of reconnection "abort" [message #667178 is a reply to message #666884] Wed, 27 April 2011 04:57 Go to previous messageGo to next message
Michael Wenz is currently offline Michael Wenz
Messages: 1574
Registered: July 2009
Location: Walldorf, Germany
Senior Member
Currently there are no hooks for that, but I think it makes sense to introduce a cancelled hook. Would you please open an enhancement bugzilla for this?

Thanks,
Michael
Re: Notification of reconnection "abort" [message #667213 is a reply to message #667178] Wed, 27 April 2011 09:02 Go to previous messageGo to next message
Craig Petre is currently offline Craig Petre
Messages: 32
Registered: April 2011
Member
There looks to be a feature request very similar to mine about creating connections that asks for notification for failed connections:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=329517

Should I amend this feature request to add Reconnections? Or if you prefer, I can make a new feature request.

Thanks,
Craig
Re: Notification of reconnection "abort" [message #667243 is a reply to message #667213] Wed, 27 April 2011 11:11 Go to previous messageGo to next message
Michael Wenz is currently offline Michael Wenz
Messages: 1574
Registered: July 2009
Location: Walldorf, Germany
Senior Member
You are right, they are similar. I would nevertheless prefer a seperate
bugzilla, that references tis one.

Michael


"Craig" wrote in message news:ip93mv$f4t$1@news.eclipse.org...

There looks to be a feature request very similar to mine about creating
connections that asks for notification for failed connections:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=329517

Should I amend this feature request to add Reconnections? Or if you prefer,
I can make a new feature request.

Thanks,
Craig
Re: Notification of reconnection "abort" [message #667249 is a reply to message #667243] Wed, 27 April 2011 11:42 Go to previous message
Craig Petre is currently offline Craig Petre
Messages: 32
Registered: April 2011
Member
Done. Thanks.
https://bugs.eclipse.org/bugs/show_bug.cgi?id=343983
Previous Topic:Problems in deleting pictogram elements and model elements
Next Topic:2 Resources in 1 Domain leads to a Problem during Save/Refresh
Goto Forum:
  


Current Time: Mon Jul 28 18:44:44 EDT 2014

Powered by FUDForum. Page generated in 0.01919 seconds