Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » PolylineConnecton Bendpoints
PolylineConnecton Bendpoints [message #166775] Thu, 03 February 2005 02:07 Go to next message
Eclipse UserFriend
Originally posted by: Marrok.gmail.com

I am creating a connection and adding Bendpoint to it in the constructor,
but when the connection figure is displayed, it is displayed without the
bendpoints.

The result I'm trying to achieve is this: I have a list of labels and I
want to show that two are linked using a connection figure, but adding a
connection draws over all the labels in between in a straight line. I want
the connection to jut out to the right then draw down and then left so
that it doesn't draw over the ones in between.

Should I wait to add the bendpoints and/or router until it is attached to
the target anchor?

Any suggestions would be greatly appriciated?

Grazie.
-M
Re: PolylineConnecton Bendpoints [message #166855 is a reply to message #166775] Thu, 03 February 2005 16:04 Go to previous message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

>I am creating a connection and adding Bendpoint to it in the constructor,
>but when the connection figure is displayed, it is displayed without the
>bendpoints.

You cannot set the routing constraint until after the router is set.

> The result I'm trying to achieve is this: I have a list of labels and I
> want to show that two are linked using a connection figure, but adding a
> connection draws over all the labels in between in a straight line. I want
> the connection to jut out to the right then draw down and then left so
> that it doesn't draw over the ones in between.
>
> Should I wait to add the bendpoints and/or router until it is attached to
> the target anchor?

The best way to acheive what you want is probably a router which just routes
using this behavior, without a bendpoint present.

> Any suggestions would be greatly appriciated?
>
> Grazie.
> -M
>
Previous Topic:Help Wanted: Investigate new Tree w/Columns SWT support
Next Topic:How to get to the tool that created the request
Goto Forum:
  


Current Time: Wed Sep 18 14:50:59 GMT 2024

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

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

Back to the top