Skip to main content


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 14:52 Go to next message
Abu Zak is currently offline Abu ZakFriend
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 13: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 20:32 Go to previous messageGo to next message
Eclipse UserFriend
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 13:05 Go to previous message
Abu Zak is currently offline Abu ZakFriend
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: Fri Mar 29 12:34:01 GMT 2024

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

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

Back to the top