problem with non model connections [message #152034] |
Sun, 26 September 2004 14:17 |
Eclipse User |
|
|
|
Originally posted by: paolino125.hotmail.com
Hi, I've a problem with my editor. In getModelChildren method of my
rootEditPart I create some connections and connect them to my child editPart
(this because my model doesn't store connections) and everything works fine.
When I try to remove a child editPart the associated connections doesn't be
removed (and my getModeSource/TargetConnections return the correct list of
connections).
I hope it's clear...
Thanks to everyone!!
|
|
|
Re: problem with non model connections [message #152098 is a reply to message #152034] |
Mon, 27 September 2004 14:23 |
Eclipse User |
|
|
|
Originally posted by: none.us.ibm.com
When the source node is deactivated, it deactivates the connection editpart,
which removes the figure. This happens by calling getSourceConnections, not
getModelSourceConnections. Were the connections added to the nodes at each
end?
"funky79" <paolino125@hotmail.com> wrote in message
news:cj6ipr$5e0$1@eclipse.org...
> Hi, I've a problem with my editor. In getModelChildren method of my
> rootEditPart I create some connections and connect them to my child
editPart
> (this because my model doesn't store connections) and everything works
fine.
> When I try to remove a child editPart the associated connections doesn't
be
> removed (and my getModeSource/TargetConnections return the correct list of
> connections).
>
> I hope it's clear...
>
> Thanks to everyone!!
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.03225 seconds