Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » ACTION_ARRANGE_ALL: how to execute it from custom Action?
ACTION_ARRANGE_ALL: how to execute it from custom Action? [message #521635] Thu, 18 March 2010 07:03
Eclipse UserFriend
Hi,

I need to execute an 'ARRANGE ALL' action on a diagram, called by a own custom action (essentially an Open Diagram Action); this is the code:

ArrangeAction arrangeAction = ArrangeAction.createArrangeAllAction(page);

arrangeAction.run();

but I got a NullPointerException. Maybe I'm calling and executing the Action in a wrong way?

Thanks for any help, regards

Giovanni.
Previous Topic:Question about WorkbenchWindows and Perspectives
Next Topic:Different custom presentations for different sites
Goto Forum:
  


Current Time: Thu Jun 12 12:41:46 EDT 2025

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

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

Back to the top