Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Graphiti » Non-Rounded Polyline connection
Non-Rounded Polyline connection [message #630196] Fri, 01 October 2010 02:26 Go to next message
VincentL is currently offline VincentLFriend
Messages: 88
Registered: July 2009
Member
Hi,

It is possible to have non-rounded polyline connection ? I would prefer rectangular bend
point without round effect ?

Thanks for yor answer...

Regards

Vincent
Re: Non-Rounded Polyline connection [message #630242 is a reply to message #630196] Fri, 01 October 2010 09:41 Go to previous messageGo to next message
Michael Wenz is currently offline Michael WenzFriend
Messages: 1931
Registered: July 2009
Location: Walldorf, Germany
Senior Member
You can override the method isDefaultBendPointRenderingActive in your tool
behavior provider and return false to achieve that. (I have to admit that
the name of that method is not really intuitive...)

Michael

"Vincent L." <lapointe_vincent_1975@hotmail.com> wrote in message
news:i83gnc$asu$1@news.eclipse.org...
> Hi,
>
> It is possible to have non-rounded polyline connection ? I would prefer
> rectangular bend point without round effect ?
>
> Thanks for yor answer...
>
> Regards
>
> Vincent
Re: Non-Rounded Polyline connection [message #631864 is a reply to message #630242] Sat, 09 October 2010 11:12 Go to previous messageGo to next message
VincentL is currently offline VincentLFriend
Messages: 88
Registered: July 2009
Member
Michael Wenz wrote:
> You can override the method isDefaultBendPointRenderingActive in your tool
> behavior provider and return false to achieve that. (I have to admit that
> the name of that method is not really intuitive...)
>
> Michael
>
> "Vincent L." <lapointe_vincent_1975@hotmail.com> wrote in message
> news:i83gnc$asu$1@news.eclipse.org...
>> Hi,
>>
>> It is possible to have non-rounded polyline connection ? I would prefer
>> rectangular bend point without round effect ?
>>
>> Thanks for yor answer...
>>
>> Regards
>>
>> Vincent
>
>

Thanks,

It works as mentionned.

It seems that the function is called every time a line should be rendered. But there is no
way to know which line is rendered. So it is not possible to have rounded and non rounded
polyline.

Is there any way to know for which polyline connection the method is called?

Thanks

Regards.

Vincent
Re: Non-Rounded Polyline connection [message #631984 is a reply to message #631864] Mon, 11 October 2010 07:08 Go to previous message
Michael Wenz is currently offline Michael WenzFriend
Messages: 1931
Registered: July 2009
Location: Walldorf, Germany
Senior Member
Unfortunatly currently not. As I already wrote I'm nnot really happy with
the naming of the method, so this would need a check and cleanup anyway.
Pleasee open an enhancement Bugzilla for that one.

Thanks,
Michael


"Vincent L." <lapointe_vincent_1975@hotmail.com> wrote in message
news:i8pig8$pab$1@news.eclipse.org...
> Michael Wenz wrote:
>> You can override the method isDefaultBendPointRenderingActive in your
>> tool behavior provider and return false to achieve that. (I have to admit
>> that the name of that method is not really intuitive...)
>>
>> Michael
>>
>> "Vincent L." <lapointe_vincent_1975@hotmail.com> wrote in message
>> news:i83gnc$asu$1@news.eclipse.org...
>>> Hi,
>>>
>>> It is possible to have non-rounded polyline connection ? I would prefer
>>> rectangular bend point without round effect ?
>>>
>>> Thanks for yor answer...
>>>
>>> Regards
>>>
>>> Vincent
>>
>>
>
> Thanks,
>
> It works as mentionned.
>
> It seems that the function is called every time a line should be rendered.
> But there is no way to know which line is rendered. So it is not possible
> to have rounded and non rounded polyline.
>
> Is there any way to know for which polyline connection the method is
> called?
>
> Thanks
>
> Regards.
>
> Vincent
>
Previous Topic:Polygon connection decorator
Next Topic:Best way to rotate an object
Goto Forum:
  


Current Time: Fri Apr 19 23:43:30 GMT 2024

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

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

Back to the top