Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 14: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 18:47 Go to previous messageGo to next message
Li Ding is currently offline Li DingFriend
Messages: 29
Registered: July 2009
Junior Member
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 08: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 14:07 Go to previous message
Li Ding is currently offline Li DingFriend
Messages: 29
Registered: July 2009
Junior Member
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: Sat Jul 27 18:18:43 GMT 2024

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

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

Back to the top