How do I sync the name of a global action? [message #275614] |
Tue, 09 November 2004 19:26 |
Eclipse User |
|
|
|
Originally posted by: e50018.motorola.com
Hi,
I created an action (refreshAction) in my ViewPart, and I hooked it as a
global action:
getViewSite().getActionBars().setGlobalActionHandler(ActionF actory.REFRESH.getId(),
refreshAction);
Everything works fine, and when my view has focus, pressing f5
automatically invokes my refreshAction as well.
My question is the following: I put this action also in my viewer's Menu
Bar. I want to sync the text and accelerator information in my viewer's
menu item with the default REFRESH action's text and accelerator (Under
File menu). How can I do that?
thx
melih
|
|
|
Powered by
FUDForum. Page generated in 0.06386 seconds