Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » TreeStyle routing ?
TreeStyle routing ? [message #156878] Wed, 24 October 2007 07:36 Go to next message
Cedric Brun is currently offline Cedric BrunFriend
Messages: 431
Registered: July 2009
Senior Member
hi,

I saw that GMF2 brings a new routing style, disabled on my editor,
named "TreeStyle routing".

What should I do to enable it ?


Cédric


http://cedric.brun.io news and articles on eclipse and eclipse modeling.
Re: TreeStyle routing ? [message #156995 is a reply to message #156878] Wed, 24 October 2007 14:59 Go to previous messageGo to next message
Yann Mortier is currently offline Yann MortierFriend
Messages: 19
Registered: July 2009
Location: Paris FR
Junior Member
Cédric Brun a écrit :
> hi,
>
> I saw that GMF2 brings a new routing style, disabled on my editor,
> named "TreeStyle routing".
>
> What should I do to enable it ?
>
>
> Cédric



Hello Cédric

You can use TreeGraphicalNodeEditPolicy and ITreeBranchEditPart to
achive it.

cheers

Yann
Re: TreeStyle routing ? [message #157027 is a reply to message #156878] Wed, 24 October 2007 17:33 Go to previous messageGo to next message
Anthony Hunter is currently offline Anthony HunterFriend
Messages: 446
Registered: July 2009
Senior Member
Hi

Simply make your ConnectionNodeEditPart implement ITreeBranchEditPart.

Cheers...
Anthony

"C
Re: TreeStyle routing ? [message #157084 is a reply to message #156878] Thu, 25 October 2007 07:22 Go to previous message
Cedric Brun is currently offline Cedric BrunFriend
Messages: 431
Registered: July 2009
Senior Member
Thanks for your help :)

Cédric

Cédric Brun wrote:

> hi,
>
> I saw that GMF2 brings a new routing style, disabled on my editor,
> named "TreeStyle routing".
>
> What should I do to enable it ?
>
>
> Cédric


http://cedric.brun.io news and articles on eclipse and eclipse modeling.
Previous Topic:Programmatically position external label
Next Topic:Using custom actions in toolbar
Goto Forum:
  


Current Time: Mon Jul 22 05:27:09 GMT 2024

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

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

Back to the top