Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » How to get IAction from actionSet?
How to get IAction from actionSet? [message #329167] Mon, 16 June 2008 10:22 Go to next message
Drug Vignera is currently offline Drug VigneraFriend
Messages: 21
Registered: July 2009
Junior Member
I've developed plugin with extension point org.eclipse.ui.actionSet. It
has class that implements IWorkbenchWindowActionDelegate. How to get
IAction in the constructor of this class?
Re: How to get IAction from actionSet? [message #329172 is a reply to message #329167] Mon, 16 June 2008 12:09 Go to previous message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

You can't ... but if you implement IActionDelegate2 as well you will
have your init(*) method called shortly after construction.

PW


--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/help33/index.jsp?topic=/org.eclipse. platform.doc.isv/guide/workbench.htm


Previous Topic:extension points distribution
Next Topic:calling tree during execution
Goto Forum:
  


Current Time: Sat Jul 13 18:53:42 GMT 2024

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

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

Back to the top