Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » How to add a ConnectionAnchor to the LogicLabe l!!
How to add a ConnectionAnchor to the LogicLabe l!! [message #155232] Sat, 23 October 2004 03:16 Go to next message
Eclipse UserFriend
Originally posted by: shibaorong.jctx.com

Hi Guys!
who can do me a fever to show me the way to add a ConnectionAnchor to
the LogicLabe!!!
SEE org.eclipse.gef.examples.logic

Thanks a lot!
Re: How to add a ConnectionAnchor to the LogicLabe l!! [message #155408 is a reply to message #155232] Mon, 25 October 2004 03:56 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

Connection anchors are not added to labels, they are added to connections.

The label would have to implement the NodeEditPart interface for anchors to
work. Also, the model would have to allow something to be connected to the
label.

Re: How to add a ConnectionAnchor to the LogicLabe l!! [message #155565 is a reply to message #155232] Tue, 26 October 2004 07:10 Go to previous message
Eclipse UserFriend
Originally posted by: wkrain.hotmail.com

hi buddy!
you can't edit any draw2d component ,if you want to add ConnectionAnchor
,first you must implement Editpart and then you can overidde "getFigure() "
drawing label.

Previous Topic:Mapping from key-codes to Commands?
Next Topic:GEF
Goto Forum:
  


Current Time: Mon Jan 13 14:56:18 GMT 2025

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

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

Back to the top