Skip to main content



      Home
Home » Modeling » GMF (Graphical Modeling Framework) » How to use LeftRightProvider ?
How to use LeftRightProvider ? [message #63685] Mon, 16 October 2006 20:20 Go to next message
Eclipse UserFriend
Originally posted by: rbbnjmn.yahoo.com

If I want my graphs to layout left to right I believe I should
use the LeftRightprovider.

What I am uncertain of is how to do this code wise ?

Any help greatley appreciated !

Thanks

Roy
Re: How to use LeftRightProvider ? [message #64069 is a reply to message #63685] Tue, 17 October 2006 08:03 Go to previous messageGo to next message
Eclipse UserFriend
What's wrong with "org.eclipse.gmf.runtime.diagram.ui.layoutProviders"
extension point?

Perhaps,
http://help.eclipse.org/help31/index.jsp?topic=/org.eclipse. gmf.doc/examples-guide/diagram/layoutServiceExample.html
could help?


Artem

"rbbnjmn" <rbbnjmn@yahoo.com> wrote in message
news:eh17k8$f77$1@utils.eclipse.org...
> If I want my graphs to layout left to right I believe I should
> use the LeftRightprovider.
>
> What I am uncertain of is how to do this code wise ?
>
> Any help greatley appreciated !
>
> Thanks
>
> Roy
>
Re: How to use LeftRightProvider ? [message #64565 is a reply to message #64069] Tue, 17 October 2006 14:40 Go to previous message
Eclipse UserFriend
Originally posted by: rbbnjmn.yahoo.com

Yes! Thanks for the pointer. I havn't had time to fully investigate all
the
new examples. Of course doing it this way sets the layout for all diagrams
(it seems) rather than just for the diagram plugin holding the extension ?

I need to allow users to pick their layout from a menu (common feature)
which
means I'll also need to adapt the anchor point impl(s) too.

Thanks!

Roy


"Artem Tikhomirov" <artem.tikhomirov@borland.com> wrote in message
news:eh2gk5$f4o$1@utils.eclipse.org...
> What's wrong with "org.eclipse.gmf.runtime.diagram.ui.layoutProviders"
> extension point?
>
> Perhaps,
> http://help.eclipse.org/help31/index.jsp?topic=/org.eclipse. gmf.doc/examples-guide/diagram/layoutServiceExample.html
> could help?
>
>
> Artem
>
> "rbbnjmn" <rbbnjmn@yahoo.com> wrote in message
> news:eh17k8$f77$1@utils.eclipse.org...
>> If I want my graphs to layout left to right I believe I should
>> use the LeftRightprovider.
>>
>> What I am uncertain of is how to do this code wise ?
>>
>> Any help greatley appreciated !
>>
>> Thanks
>>
>> Roy
>>
>
>
Previous Topic:Hide/Show Compartment Command
Next Topic:Proper usage of diagram node selection and subsequent command processing
Goto Forum:
  


Current Time: Thu Mar 13 14:06:04 EDT 2025

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

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

Back to the top