Skip to main content



      Home
Home » Eclipse Projects » GEF » connections with right angle bends
connections with right angle bends [message #171564] Mon, 14 March 2005 00:48 Go to next message
Eclipse UserFriend
Hello everyone ,
I am sorry that i am posting second mail on same subject. But i didnt get
answer of it and i need it immediately , please help.

I want connection between two models to be done such way that ,
after selecting conn src and when it is released on target model ,
connection line should route itself into right angle bends to reach target.
( this i have done with manhattenrouter)

Also after this , when user moves any corner conn should again reform into
right angle bends , passing through corner that user has just moved.

( i am actually facing problem here. I searched API's of draw2d -
polylineConn , Manhatten , FanRouter , BendpointRouter etc. ,
but i need bendpoint with constraint that bends must be right angled. )

Or should i do manually by setting new x and y values to moved bendpoint.

-- mithun.
Re: connections with right angle bends [message #171690 is a reply to message #171564] Mon, 14 March 2005 12:41 Go to previous messageGo to next message
Eclipse UserFriend
"mithun ruikar" <mithun.ruikar@gmail.com> wrote in message
news:d138j6$gdk$1@www.eclipse.org...
> Hello everyone ,
> I am sorry that i am posting second mail on same subject. But i didnt get
> answer of it and i need it immediately , please help.
>
> I want connection between two models to be done such way that ,
> after selecting conn src and when it is released on target model ,
> connection line should route itself into right angle bends to reach
target.
> ( this i have done with manhattenrouter)
>
> Also after this , when user moves any corner conn should again reform into
> right angle bends , passing through corner that user has just moved.

The functionality is not currently supported in GEF. I believe we already
have a feature request open on that. You can open another one if you can't
find it. Maybe you can implement this and contribute it to GEF.

>
> ( i am actually facing problem here. I searched API's of draw2d -
> polylineConn , Manhatten , FanRouter , BendpointRouter etc. ,
> but i need bendpoint with constraint that bends must be right angled. )
>
> Or should i do manually by setting new x and y values to moved bendpoint.
>
> -- mithun.
>
Re: connections with right angle bends [message #172557 is a reply to message #171690] Fri, 18 March 2005 22:11 Go to previous messageGo to next message
Eclipse UserFriend
Hello ,

I have created rectilinear connection with bendpoint support.

I used bendPointEditPolicy and implemented , getCreate , getMove ,
getDelete bendPoint commands.
These methods returns Command , which executes to support my need , which
is connection with bendPoints , but only bends at right angle are allowed.
Now , my User can have any kind of well shaped connection with right angle
bends.

And I think this functionality should be made available to GEF asp , so
that everybody can make use of these standard looking connections.

Thank you.
-- mithun


Pratik Shah wrote:


> "mithun ruikar" <mithun.ruikar@gmail.com> wrote in message
> news:d138j6$gdk$1@www.eclipse.org...
>> Hello everyone ,
>> I am sorry that i am posting second mail on same subject. But i didnt get
>> answer of it and i need it immediately , please help.
>>
>> I want connection between two models to be done such way that ,
>> after selecting conn src and when it is released on target model ,
>> connection line should route itself into right angle bends to reach
> target.
>> ( this i have done with manhattenrouter)
>>
>> Also after this , when user moves any corner conn should again reform into
>> right angle bends , passing through corner that user has just moved.

> The functionality is not currently supported in GEF. I believe we already
> have a feature request open on that. You can open another one if you can't
> find it. Maybe you can implement this and contribute it to GEF.

>>
>> ( i am actually facing problem here. I searched API's of draw2d -
>> polylineConn , Manhatten , FanRouter , BendpointRouter etc. ,
>> but i need bendpoint with constraint that bends must be right angled. )
>>
>> Or should i do manually by setting new x and y values to moved bendpoint.
>>
>> -- mithun.
>>
Re: connections with right angle bends [message #172574 is a reply to message #172557] Sat, 19 March 2005 09:46 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: Lamont_Gilbert.rigidsoftware.com

Ahh wonderful. I was going to eventually get around to writing such a
bendpoint setup.

Would you mind sending a copy of those required classes? Trade you for
my 'Line" editPart set if your interested (though i need to tweak the
select-move a bit) :P



Thanks!


CL

mithun ruikar wrote:
> Hello ,
>
> I have created rectilinear connection with bendpoint support.
>
> I used bendPointEditPolicy and implemented , getCreate , getMove ,
> getDelete bendPoint commands.
> These methods returns Command , which executes to support my need ,
> which is connection with bendPoints , but only bends at right angle are
> allowed.
> Now , my User can have any kind of well shaped connection with right
> angle bends.
>
> And I think this functionality should be made available to GEF asp , so
> that everybody can make use of these standard looking connections.
>
> Thank you.
> -- mithun
>
>
> Pratik Shah wrote:
>
>
>> "mithun ruikar" <mithun.ruikar@gmail.com> wrote in message
>> news:d138j6$gdk$1@www.eclipse.org...
>>
>>> Hello everyone ,
>>> I am sorry that i am posting second mail on same subject. But i didnt
>>> get
>>> answer of it and i need it immediately , please help.
>>>
>>> I want connection between two models to be done such way that ,
>>> after selecting conn src and when it is released on target model ,
>>> connection line should route itself into right angle bends to reach
>>
>> target.
>>
>>> ( this i have done with manhattenrouter)
>>>
>>> Also after this , when user moves any corner conn should again reform
>>> into
>>> right angle bends , passing through corner that user has just moved.
>
>
>> The functionality is not currently supported in GEF. I believe we
>> already
>> have a feature request open on that. You can open another one if you
>> can't
>> find it. Maybe you can implement this and contribute it to GEF.
>
>
>>>
>>> ( i am actually facing problem here. I searched API's of draw2d -
>>> polylineConn , Manhatten , FanRouter , BendpointRouter etc. ,
>>> but i need bendpoint with constraint that bends must be right angled. )
>>>
>>> Or should i do manually by setting new x and y values to moved
>>> bendpoint.
>>>
>>> -- mithun.
>>>
>
>
Re: connections with right angle bends [message #172911 is a reply to message #172574] Tue, 22 March 2005 02:57 Go to previous messageGo to next message
Eclipse UserFriend
Hello Gilbert,

I have made many new classes and also have had made change to some
existing classes of my project , to have this functionality.

I had started with shapes examples and updated it to support my need.

You will need Connection (Model) , ConnectionEditPart ,
BendPointEditPolicy
, my custom commands to handle move, create , delete of bendPoint request.

tell me which classes you have , so that i can know what exactly i should
send you.
Re: connections with right angle bends [message #172961 is a reply to message #172911] Tue, 22 March 2005 08:41 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: Lamont_Gilbert.rigidsoftware.com

I got them all. Im surprised though, I would have thought the only
thing required would be a new BendPointEditPolicy. but I guess that
policy is what is returning your move, create, and delete commands?


CL


mithun ruikar wrote:
> Hello Gilbert,
>
> I have made many new classes and also have had made change to some
> existing classes of my project , to have this functionality.
>
> I had started with shapes examples and updated it to support my need.
>
> You will need Connection (Model) , ConnectionEditPart ,
> BendPointEditPolicy
> , my custom commands to handle move, create , delete of bendPoint request.
>
> tell me which classes you have , so that i can know what exactly i
> should send you.
>
>
>
Re: connections with right angle bends [message #173081 is a reply to message #172911] Tue, 22 March 2005 13:54 Go to previous messageGo to next message
Eclipse UserFriend
Mithun,

I'm glad to see that you've implemented this functionality and are willing
to contribute it to GEF. Would you be interested in providing a patch for
the logic example? You can either post it here or post it in a bug report.

"mithun ruikar" <mithun.ruikar@gmail.com> wrote in message
news:33cf91dbae0db6864c463c4620df426c$1@www.eclipse.org...
> Hello Gilbert,
>
> I have made many new classes and also have had made change to some
> existing classes of my project , to have this functionality.
>
> I had started with shapes examples and updated it to support my need.
>
> You will need Connection (Model) , ConnectionEditPart ,
> BendPointEditPolicy
> , my custom commands to handle move, create , delete of bendPoint request.
>
> tell me which classes you have , so that i can know what exactly i should
> send you.
>
>
>
Re: connections with right angle bends [message #173289 is a reply to message #173081] Wed, 23 March 2005 15:18 Go to previous messageGo to next message
Eclipse UserFriend
Hello ,
Thanks for showing interest in my thing. I have it currently running for
my own project based on GEF. But like you mentioned , I am trying to add
it to logic example.

I will notify you after it is over.

Thank you.
Re: connections with right angle bends [message #173777 is a reply to message #173081] Mon, 28 March 2005 08:03 Go to previous messageGo to next message
Eclipse UserFriend
Hello ,
I have added right angled line bends to Logic Example.

But i dont know how to send it on this group. Because i use (simple web
interface) to post my mails to group, and i think there is no way to send
attachments from here.

Can you please tell me where should i send it , and how ?

-- thank you.
Re: connections with right angle bends [message #173836 is a reply to message #173777] Mon, 28 March 2005 13:16 Go to previous messageGo to next message
Eclipse UserFriend
You can open a new bug report, and post a patch on there. Thanks.

"mithun ruikar" <mithun.ruikar@gmail.com> wrote in message
news:e3f3932929b861474bccbea0b66d3752$1@www.eclipse.org...
> Hello ,
> I have added right angled line bends to Logic Example.
>
> But i dont know how to send it on this group. Because i use (simple web
> interface) to post my mails to group, and i think there is no way to send
> attachments from here.
>
> Can you please tell me where should i send it , and how ?
>
> -- thank you.
>
>
>
Re: connections with right angle bends [message #174580 is a reply to message #173777] Wed, 30 March 2005 16:03 Go to previous messageGo to next message
Eclipse UserFriend
Post your code here: https://bugs.eclipse.org/bugs/show_bug.cgi?id=71498

"mithun ruikar" <mithun.ruikar@gmail.com> wrote in message
news:e3f3932929b861474bccbea0b66d3752$1@www.eclipse.org...
> Hello ,
> I have added right angled line bends to Logic Example.
>
> But i dont know how to send it on this group. Because i use (simple web
> interface) to post my mails to group, and i think there is no way to send
> attachments from here.
>
> Can you please tell me where should i send it , and how ?
>
> -- thank you.
>
>
>
Re: connections with right angle bends [message #175616 is a reply to message #174580] Tue, 05 April 2005 13:07 Go to previous messageGo to next message
Eclipse UserFriend
Hello ,
Did you receive my attachment i attached my code at the link you specified.

-- mithun.
Re: connections with right angle bends [message #175633 is a reply to message #175616] Tue, 05 April 2005 13:30 Go to previous messageGo to next message
Eclipse UserFriend
Yes, Mithun. Thanks. I'll review the contribution when I get the chance
and will post the updated status on that bug report.

"mithun ruikar" <mithun.ruikar@gmail.com> wrote in message
news:6e5570a9c9ed415707d1a76291f1e0ab$1@www.eclipse.org...
> Hello ,
> Did you receive my attachment i attached my code at the link you
specified.
>
> -- mithun.
>
Re: connections with right angle bends [message #178341 is a reply to message #175616] Tue, 19 April 2005 17:06 Go to previous message
Eclipse UserFriend
Mithun, please check the bug report. And make sure you're getting notified
about changes to that bug report.

"mithun ruikar" <mithun.ruikar@gmail.com> wrote in message
news:6e5570a9c9ed415707d1a76291f1e0ab$1@www.eclipse.org...
> Hello ,
> Did you receive my attachment i attached my code at the link you
specified.
>
> -- mithun.
>
Previous Topic:Article proposal: Aspects of the graph related layout with GEF
Next Topic:How could i customize a java editor with a pallete
Goto Forum:
  


Current Time: Sun Nov 09 06:51:36 EST 2025

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

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

Back to the top