Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » How to get reference to an ActionSet ?
How to get reference to an ActionSet ? [message #435054] Tue, 09 August 2005 10:27 Go to next message
Eclipse UserFriend
Hi folks,
I want to use a common actionset for several views, which i have defined
in my own perspective using layout.addActionSet(). The actions are shown
in the worbench toolbar.
How can I get a reference to this actionset or actions defined in it ?
WorkbenchPlugin.getActionSetRegistry() seems to be a kind of deprecated
and uses internal classes and I don't want to use RetargetAction's
because these kind of actions must be redefined on every view in my
perspective...

Any hints ?
Re: How to get reference to an ActionSet ? [message #435211 is a reply to message #435054] Wed, 10 August 2005 14:23 Go to previous messageGo to next message
Eclipse UserFriend
I have also been looking for ways to reuse an action set. I have an
action set in the main menu (contributed through plugin.xml) and a context
menu with the same options. Unfortunately, I have to hard code context
menu because I couldn't figure out how to get a reference to actions
defined in plugin.xml.

I would submit a feature request, but I have a nagging suspicion that I'm
going about this the wrong way.
Re: How to get reference to an ActionSet ? [message #435307 is a reply to message #435211] Fri, 12 August 2005 03:10 Go to previous message
Eclipse UserFriend
Dan Phifer wrote:
> I have also been looking for ways to reuse an action set. I have an
> action set in the main menu (contributed through plugin.xml) and a
> context menu with the same options. Unfortunately, I have to hard code
> context menu because I couldn't figure out how to get a reference to
> actions defined in plugin.xml.
> I would submit a feature request, but I have a nagging suspicion that
> I'm going about this the wrong way.

I have done an enhancement request

https://bugs.eclipse.org/bugs/show_bug.cgi?id=106750
Previous Topic:Intercepting the workbench thread before loading
Next Topic:Error using eclipse plugin inside RCP app
Goto Forum:
  


Current Time: Sat Nov 08 12:16:54 EST 2025

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

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

Back to the top