Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » How to get reference to an ActionSet ?
How to get reference to an ActionSet ? [message #289639] Tue, 09 August 2005 10:27 Go to next message
Eclipse UserFriend
Originally posted by: michael.illgner.email.de

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 #289783 is a reply to message #289639] Wed, 10 August 2005 14:23 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: phiferd.gwu.edu

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 #289885 is a reply to message #289783] Fri, 12 August 2005 03:10 Go to previous message
Eclipse UserFriend
Originally posted by: michael.illgner.email.de

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:Can I just change the font of the string I select in TextEditor?
Next Topic:Eclipse starup problem under Mac OSX 10.4 and Powermac G5
Goto Forum:
  


Current Time: Tue Jul 22 02:50:58 EDT 2025

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

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

Back to the top