Disable update action defined via ActionSet [message #464202] |
Tue, 27 February 2007 06:35 |
Eclipse User |
|
|
|
Originally posted by: 11235813.despammed.com
Hi,
my RCP app consists of several plugins. The main plugin defines some
actions in the ApplicationActionBarAdvisor and a menu bar. The menu bar
has help menu and there a placeholder for the update action:
helpMenu.add(new Separator("update"));
Another plugin is responsible for the application update and defines a
action set, which replaces this separator with the correct action.
This is doing well, the update action is shown as a menu item in the
help menu.
I know how to disable global actions but how can I disable this update
action? In the internal action list of the ApplicationActionBarAdvisor
object there's no entry for the update action. Maybe it isn't
registered. But how to register it? The update action is automatically
set to the place where the placeholder was, and the placeholder can't be
registered. Any idea?
Regards,
Carmen
|
|
|
Powered by
FUDForum. Page generated in 0.03062 seconds