Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » LayoutProvider: how to layout connections?
LayoutProvider: how to layout connections? [message #647041] Tue, 04 January 2011 09:19 Go to next message
Eclipse UserFriend
Originally posted by: marius.groeger.googlemail.com

Hi List,

a happy new GMF year to everyone!

The SquareLayoutProvider is good to show how to arrange the objects on
the canvas. Is there an example anywere which also manipulates the
connections between them? Is there any way to leverage the layout of
connections in the default "arrange all" command?

TIA
Marius
Re: LayoutProvider: how to layout connections? [message #647960 is a reply to message #647041] Mon, 10 January 2011 15:46 Go to previous messageGo to next message
Mostafa ElShafei is currently offline Mostafa ElShafeiFriend
Messages: 39
Registered: October 2010
Member
Hello Marius,

Happy New Year to you to Smile

I think this link can help.

Best Regards,
Mostafa ElShafei.

[Updated on: Mon, 10 January 2011 15:46]

Report message to a moderator

Re: LayoutProvider: how to layout connections? [message #648080 is a reply to message #647960] Tue, 11 January 2011 07:13 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: marius.groeger.googlemail.com

Hello Mostafa,

On 10.01.2011 16:46, Mostafa ElShafei wrote:
> Happy New Year to you to :)

Same to you!

> I think this
> http://publib.boulder.ibm.com/infocenter/rsdhelp/v7r0m0/inde x.jsp?topic=/org.eclipse.gmf.doc/tutorials/diagram/automatic Layout.html
> can help.

Well I do have a custom layout, but more specifically I also want to
layout the connections between the figures. Your link doesn't really
help with this, I'm afraid.

Regards
Marius
Re: LayoutProvider: how to layout connections? [message #648115 is a reply to message #647041] Tue, 11 January 2011 10:07 Go to previous messageGo to next message
Romain Bioteau is currently offline Romain BioteauFriend
Messages: 65
Registered: August 2009
Location: Grenoble
Member
Hello,
I think you have to implement your own ConnectionRouter and set it to your Connections.

You should have a look to the ManhattanConncetionRouter.

BR


R&D Engineer at BonitaSoft
Re: LayoutProvider: how to layout connections? [message #648139 is a reply to message #648115] Tue, 11 January 2011 11:57 Go to previous message
Eclipse UserFriend
Originally posted by: marius.groeger.googlemail.com

On 11.01.2011 11:07, Romain Bioteau wrote:
> Hello,
> I think you have to implement your own ConnectionRouter and set it to
> your Connections.
>
> You should have a look to the ManhattanConncetionRouter.

You guys at Bonita continue to amaze me... ;-)

Thanks!

Marius
Previous Topic:From EditingDomain to EditPart
Next Topic:Missing connections/edges
Goto Forum:
  


Current Time: Thu Apr 25 16:37:51 GMT 2024

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

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

Back to the top