Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Graphiti » FixPointAnchor and GraphicsAlgorithm
FixPointAnchor and GraphicsAlgorithm [message #940777] Fri, 12 October 2012 00:19 Go to next message
Junior Lekane Nimpa is currently offline Junior Lekane NimpaFriend
Messages: 23
Registered: September 2012
Junior Member
Hello all,
i have some difficulties to use FixPointAnchors. I don't know what graphicsAlgorithm i should use.
My problem is that, i want to set the location of the anchor at runtime. ChopboxAnchors are good in the sense that are not visible, but i can not set their location. Is it possible to use other anchors with invisible algorithms?

Thanks in advance
Junior
Re: FixPointAnchor and GraphicsAlgorithm [message #941259 is a reply to message #940777] Fri, 12 October 2012 10:38 Go to previous message
Michael Wenz is currently offline Michael WenzFriend
Messages: 1640
Registered: July 2009
Location: Walldorf, Germany
Senior Member
Junior,

ChopboxAnchor are a simplification and offer the convenience that they
simply use the parent GA for visualizing the point to connect. All other
anchor types (FixPoint and BoxRelative) need a graphics algorithm on which
users can start or end connections. These GAs are used to "grab" in the UI.

You may also use an invisble GA at such an anchor, but that sounds quite
unusual because users will have no pointer in the UI to what they might
connect.

Michael
Previous Topic:refreshEditPartsForModelChildrenAndSourceConnections ?
Next Topic:FreeFormConnection and flexibility
Goto Forum:
  


Current Time: Sun Dec 21 08:44:59 GMT 2014

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

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