Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Problems with connections
Problems with connections [message #217585] Thu, 08 June 2006 13:36 Go to next message
Eclipse UserFriend
Originally posted by: news.goodbyte.de

Hello,

I have a GEF-Plugin based on the shapes example. Nearly everything works
fine, but there is a problem with the connection. E.g. we have 2 Nodes,
N1 and N2. When I connect N1 with N2, all properties change, an instance
of the connection model is created, and so on, but the line finally is
not drawn. When I connect N2 back to N1, everything seems to be fine.

Greets
Benjamin
Re: Problems with connections [message #217595 is a reply to message #217585] Thu, 08 June 2006 13:54 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: adam.giemza.gmx.de

Just a question: Does your ConnectionEditPart extend
AbstractConnectionEditPart? Otherwise it is not drawn in the editor!

Greets
Adam
Re: Problems with connections [message #217602 is a reply to message #217595] Thu, 08 June 2006 14:02 Go to previous message
Eclipse UserFriend
Originally posted by: news.goodbyte.de

Adam Giemza wrote:
> Just a question: Does your ConnectionEditPart extend
> AbstractConnectionEditPart? Otherwise it is not drawn in the editor!

Yes, it does. The connection is drawn when reconnecting the nodes the
other way round.

Greets
Benjamin
Previous Topic:Need help in designing Figure with Anchors
Next Topic:html tooltip in draw2d
Goto Forum:
  


Current Time: Thu Apr 25 09:46:50 GMT 2024

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

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

Back to the top