Skip to main content



      Home
Home » Modeling » Graphiti » Non-Rounded Polyline connection
Non-Rounded Polyline connection [message #630196] Thu, 30 September 2010 22:26 Go to next message
Eclipse UserFriend
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 05:41 Go to previous messageGo to next message
Eclipse UserFriend
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 07:12 Go to previous messageGo to next message
Eclipse UserFriend
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 03:08 Go to previous message
Eclipse UserFriend
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: Sun Jul 06 14:29:50 EDT 2025

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

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

Back to the top