Skip to main content



      Home
Home » Eclipse Projects » GEF » problem with non model connections
problem with non model connections [message #152034] Sun, 26 September 2004 10:17 Go to next message
Eclipse UserFriend
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 10:23 Go to previous message
Eclipse UserFriend
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!!
>
>
Previous Topic:Location problem when creating items with zoom level != 100%
Next Topic:Can I open a GraphicalEditor when a RCP starts?
Goto Forum:
  


Current Time: Wed Jul 02 15:56:06 EDT 2025

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

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

Back to the top