Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 11:03
Giovanni De Sossi is currently offline Giovanni De SossiFriend
Messages: 161
Registered: October 2009
Location: Rome, Italy
Senior Member

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: Tue Sep 24 00:07:09 GMT 2024

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

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

Back to the top