Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Question on Connection Activation
Question on Connection Activation [message #224829] Thu, 19 October 2006 23:21 Go to next message
Eclipse UserFriend
Originally posted by: something.eclipse.org

Since I need to create a bunch of connections programatically and after
initial layout has occured, my connections aren't getting activated
(since getModelConnections == null at that time) and therefore, their
edit policies aren't working. To solve this, I call activate after
making a connection. This makes the connection not show at all for some
reason. Does anyone know why this is happening and if there is
something different I should be doing?

thanks,
adam
Re: Question on Connection Activation [message #224837 is a reply to message #224829] Fri, 20 October 2006 01:27 Go to previous message
Xiang Qinxian is currently offline Xiang QinxianFriend
Messages: 119
Registered: July 2009
Senior Member
在 2006-10-19四的 16:21 -0700,AdamC写道:
> Since I need to create a bunch of connections programatically and after
> initial layout has occured, my connections aren't getting activated
> (since getModelConnections == null at that time) and therefore, their
> edit policies aren't working. To solve this, I call activate after
> making a connection. This makes the connection not show at all for some
> reason. Does anyone know why this is happening and if there is
> something different I should be doing?
>
> thanks,
> adam
Hi,

Why not change model directly, which programaticality price less than
using editparts to control children editparts and/or figures.

Regards,

Qinxian.
Previous Topic:Zooming with no blur
Next Topic:Deactivating a figure response to the mouse events
Goto Forum:
  


Current Time: Mon Oct 25 18:13:07 GMT 2021

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

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

Back to the top