Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » REPOST - BendPoint Connection - What all to do?
REPOST - BendPoint Connection - What all to do? [message #175123] Sat, 02 April 2005 22:12 Go to next message
Eclipse UserFriend
Originally posted by: binti.ksu.edu

Hi All,

Can anyone tell me the steps to create a bendpoint connection from polyline
connection. And what commands and policies to code to create and delete
these bend points. I have a working polyline connection. Can it be converted
to bend point connection?

Regards,
Binti.
Re: REPOST - BendPoint Connection - What all to do? [message #175201 is a reply to message #175123] Mon, 04 April 2005 03:04 Go to previous messageGo to next message
Pratik Shah is currently offline Pratik ShahFriend
Messages: 1077
Registered: July 2009
Senior Member
Reposting the same thing doesn't help. If you don't get an answer it's most
likely because you've not stated the problem clearly or are thoroughly
confused, or have not done your due diligence before posting.

Have you looked at any of our examples that have connections with
bendpoints? Look at WireEditPart in the logic example.

"Binti Sepaha" <binti@ksu.edu> wrote in message
news:d2n5i4$7uh$1@news.eclipse.org...
> Hi All,
>
> Can anyone tell me the steps to create a bendpoint connection from
polyline
> connection. And what commands and policies to code to create and delete
> these bend points. I have a working polyline connection. Can it be
converted
> to bend point connection?
>
> Regards,
> Binti.
>
>
Re: REPOST - BendPoint Connection - What all to do? [message #175231 is a reply to message #175201] Mon, 04 April 2005 04:02 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: binti.ksu.edu

Hi,
Problem statement was as simplistic and clear as possible. It can easily be
interpreted as "How to create a bend point connection?"
Its not me that is thoroghly confused, its the example that is confusing and
lack of documentation makes it even more confusing. I have looked at the
WireEditPart in the logic example and also looked at Schema Editor and how
two are different in their architecture. Even the Red Book doesn't explain
how to do it.

I have implemented WireEditPart in my code but that requires changing the
current architecture of my application.

You have been very helpful in the past and I would really appreciate if you
could point me to a simpler example like Shapes example.

Thank You,
Binti


"Pratik Shah" <ppshah@us.ibm.com> wrote in message
news:d2qb1p$nkt$1@news.eclipse.org...
> Reposting the same thing doesn't help. If you don't get an answer it's
> most
> likely because you've not stated the problem clearly or are thoroughly
> confused, or have not done your due diligence before posting.
>
> Have you looked at any of our examples that have connections with
> bendpoints? Look at WireEditPart in the logic example.
>
> "Binti Sepaha" <binti@ksu.edu> wrote in message
> news:d2n5i4$7uh$1@news.eclipse.org...
>> Hi All,
>>
>> Can anyone tell me the steps to create a bendpoint connection from
> polyline
>> connection. And what commands and policies to code to create and delete
>> these bend points. I have a working polyline connection. Can it be
> converted
>> to bend point connection?
>>
>> Regards,
>> Binti.
>>
>>
>
>
Re: REPOST - BendPoint Connection - What all to do? [message #175319 is a reply to message #175123] Mon, 04 April 2005 14:24 Go to previous message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

PolylineConnection already supports bendpoints, so to create one just do:
new PolylineConnection();

Commands are specific to your model so it's impossible to say what code you
need to write there. Subclass BendpointEditPolicy, and look the compile
errors for the commands that you need to provide.

"Binti Sepaha" <binti@ksu.edu> wrote in message
news:d2n5i4$7uh$1@news.eclipse.org...
> Hi All,
>
> Can anyone tell me the steps to create a bendpoint connection from
> polyline
> connection. And what commands and policies to code to create and delete
> these bend points. I have a working polyline connection. Can it be
> converted
> to bend point connection?
>
> Regards,
> Binti.
>
Previous Topic:Help Need: No more handles
Next Topic:Editable Text field
Goto Forum:
  


Current Time: Thu Mar 28 21:38:40 GMT 2024

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

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

Back to the top