Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » [SOLVED] ArrangeAll with a Left to right layout
[SOLVED] ArrangeAll with a Left to right layout [message #674614] Fri, 27 May 2011 10:52 Go to next message
Abu Zak is currently offline Abu Zak
Messages: 11
Registered: February 2010
Junior Member
The default Arrange-All behaviour is to lay the diagram from top to bottom.

How do I get it to lay the diagram/nodes from left to right?

Thank you.

[Updated on: Wed, 01 June 2011 09:05]

Report message to a moderator

Re: ArrangeAll with a Left to right layout [message #675558 is a reply to message #674614] Tue, 31 May 2011 16:32 Go to previous messageGo to next message
Eclipse User
Originally posted by: Roy Benjamin

On 5/27/2011 7:52 AM, boualem wrote:
> The default Arrange-All behaviour is to lay the diagram to from to bottom.
>
> How do I get it to lay the diagram/nodes from left to right?
>
> Thank you.

<extension id="leftToRightProvider"
name="LeftToRightProvider"
point="org.eclipse.gmf.runtime.diagram.ui.layoutProviders">
<layoutProvider
class="com.zardoz.trading.diagram.layout.LeftToRightLayoutProvider">
<Priority name="High" />
</layoutProvider>
</extension>

You'll need to provide a subclass of: LeftRightProvider
Re: ArrangeAll with a Left to right layout [message #675768 is a reply to message #675558] Wed, 01 June 2011 09:05 Go to previous message
Abu Zak is currently offline Abu Zak
Messages: 11
Registered: February 2010
Junior Member
Solution/suggestion works.

Thank you.
Smile
Previous Topic:Generating Eclipse view instead of editor
Next Topic:reference based links: using both the link diagram and the property sheet
Goto Forum:
  


Current Time: Tue Jul 22 17:49:49 EDT 2014

Powered by FUDForum. Page generated in 0.05633 seconds