Skip to main content



      Home
Home » Eclipse Projects » GEF » Extending GEF Shape Example
Extending GEF Shape Example [message #248766] Fri, 01 May 2009 04:44 Go to next message
Eclipse UserFriend
I'm exteding the Shape example and would like to add supprt for a
connection which can connect to source i.e. source = target. I have
removed the limitation in ConnectionCreateCommand, however
ConnectionEditPart still doesn't draw it like a loop, the
ConnectionEditPart is using PolyLineConnection when createFigure is called.

Thanks for your time/suggestions.
Re: Extending GEF Shape Example [message #248776 is a reply to message #248766] Sat, 02 May 2009 10:37 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: annamalai.ancitconsulting.com

Dear Manpreet

To my knowledge Self Connected Loop is not a feature from GEF. As the
starting and the ending point are the same anchor points, the lines are not
seen. You need to write a figure that extends PolylineConnection and
implement a new type for Self Loop Back.

Hope this helps.

Regards
Malai
"Manpreet " <manpreet_singh@oxyent-medical.com> wrote in message
news:40b30cd6de03d46861c3f7a878c59501$1@www.eclipse.org...
> I'm exteding the Shape example and would like to add supprt for a
> connection which can connect to source i.e. source = target. I have
> removed the limitation in ConnectionCreateCommand, however
> ConnectionEditPart still doesn't draw it like a loop, the
> ConnectionEditPart is using PolyLineConnection when createFigure is
> called.
>
> Thanks for your time/suggestions.
>
Re: Extending GEF Shape Example [message #248781 is a reply to message #248766] Sat, 02 May 2009 11:43 Go to previous message
Eclipse UserFriend
See also older threads on this forum that have "curved" in the title.

-Ben

Manpreet wrote:
> I'm exteding the Shape example and would like to add supprt for a
> connection which can connect to source i.e. source = target. I have
> removed the limitation in ConnectionCreateCommand, however
> ConnectionEditPart still doesn't draw it like a loop, the
> ConnectionEditPart is using PolyLineConnection when createFigure is called.
>
> Thanks for your time/suggestions.
>
Previous Topic:[Announce] GEF 3.5.0M7 is available
Next Topic:ShortestPathRouter delivers edges through source and target
Goto Forum:
  


Current Time: Wed Mar 26 08:09:52 EDT 2025

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

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

Back to the top