Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Custom Actions in editors contextmenu?
Custom Actions in editors contextmenu? [message #188962] Mon, 25 July 2005 09:29 Go to next message
Eclipse UserFriend
Originally posted by: dutz.c-ware.de

Hi,

I am having some problems with my Actions. I have some global Actions
for opening, saving, printing etc. For my editor I have provided an
individual ActionBarContributor, which is correctly called by Eclipse.
When populating the editors context menu, the action-registry provided
is the global one (Defined in the applications ActionBarContributor) and
not the one used in the Editors. What am I doing wrong?

Thanks in advance,
Chris
Re: Custom Actions in editors contextmenu? [message #189031 is a reply to message #188962] Mon, 25 July 2005 15:24 Go to previous message
Eclipse UserFriend
Originally posted by: none.unknown.com

For context menu, you should be using the ContextMenuProvider, not the
ActionBarContributor.

"Christofer Dutz" <dutz@c-ware.de> wrote in message
news:dc2bdg$psj$1@news.eclipse.org...
> Hi,
>
> I am having some problems with my Actions. I have some global Actions
> for opening, saving, printing etc. For my editor I have provided an
> individual ActionBarContributor, which is correctly called by Eclipse.
> When populating the editors context menu, the action-registry provided
> is the global one (Defined in the applications ActionBarContributor) and
> not the one used in the Editors. What am I doing wrong?
>
> Thanks in advance,
> Chris
Previous Topic:strange problem with getLocation()
Next Topic:FlowLayout doesn't calculate its size automatically?
Goto Forum:
  


Current Time: Thu Sep 19 20:02:32 GMT 2024

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

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

Back to the top