Question on Connection Activation [message #224829] |
Thu, 19 October 2006 19:21  |
Eclipse User |
|
|
|
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] |
Thu, 19 October 2006 21:27  |
Eclipse User |
|
|
|
在 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.
|
|
|
Powered by
FUDForum. Page generated in 0.04180 seconds