Skip to main content



      Home
Home » Modeling » GMF (Graphical Modeling Framework) » How to run "Arrange all" function
How to run "Arrange all" function [message #153500] Thu, 04 October 2007 10:54 Go to next message
Eclipse UserFriend
Originally posted by: trommas.yahoo.com

Short question: :) How can I programmaticaly run the "Arrange all"
function that is available in the context menu ? I can't find it anywhere.

Regards,

Tomas
Re: How to run "Arrange all" function [message #153546 is a reply to message #153500] Thu, 04 October 2007 14:47 Go to previous messageGo to next message
Eclipse UserFriend
One way to do it is to create an arrange request, get command from your
diagram editpart and then run the command in DiagramCommandStack.

You can look how ArrangeAction does this.

Li
Re: How to run "Arrange all" function [message #153647 is a reply to message #153546] Fri, 05 October 2007 04:33 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: trommas.yahoo.com

I'm sorry, you lost me there. I'm trying to understand the whole
editpart concept (using the emf edit overview). I can't seem to find the
ArrangeAction.

Regards

Tomas


Li Ding wrote:
> One way to do it is to create an arrange request, get command from your
> diagram editpart and then run the command in DiagramCommandStack.
>
> You can look how ArrangeAction does this.
>
> Li
>
Re: How to run "Arrange all" function [message #153827 is a reply to message #153647] Fri, 05 October 2007 10:07 Go to previous message
Eclipse UserFriend
Hi,

I am in GMF 1.0.3. ArrangeAction is in package
org.eclipse.gmf.runtime.diagram.ui.actions.internal

Li
Previous Topic:Adding menuitems to contextmenus
Next Topic:How access to the elements that is removing
Goto Forum:
  


Current Time: Sun May 11 13:12:21 EDT 2025

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

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

Back to the top