Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » bump: enabling/disabling toolbar actions
bump: enabling/disabling toolbar actions [message #282419] Thu, 10 March 2005 22:33 Go to next message
Eclipse UserFriend
Originally posted by: cervezas.no-spam-pikesoft.com

This was posted by Eric Rizzo a while back and several people (myself
included!) have expressed interest in the answer. Does anyone have one?
---
"I'm working on a custom view that has several viewAction extensions
defined in the plugin.xml. Those actions need to have their
enabled/disabled state dictated by something other than the selection
state (dictated by the state of a background process).
I need to be able to enable/disable a toolbar button before it is
actually clicked (when it is being created/init-ed). The extension point
mechanism for enablement/disablement does not help because these
particular actions are not enabled or disabled based on selection.
How do I hook into the creation or initialization of the actions so that
I can control their enabled state early in their lifetime?"
Re: bump: enabling/disabling toolbar actions [message #282442 is a reply to message #282419] Fri, 11 March 2005 14:48 Go to previous message
Eclipse UserFriend
Originally posted by: eclipse.rizzoweb.com

David Beers wrote:
> This was posted by Eric Rizzo a while back and several people (myself
> included!) have expressed interest in the answer. Does anyone have one?
> ---
> "I'm working on a custom view that has several viewAction extensions
> defined in the plugin.xml. Those actions need to have their
> enabled/disabled state dictated by something other than the selection
> state (dictated by the state of a background process).
> I need to be able to enable/disable a toolbar button before it is
> actually clicked (when it is being created/init-ed). The extension point
> mechanism for enablement/disablement does not help because these
> particular actions are not enabled or disabled based on selection.
> How do I hook into the creation or initialization of the actions so that
> I can control their enabled state early in their lifetime?"

Perhaps someone who is on the platform dev mailing list should post this
question there and see if it garners any response...
Previous Topic:Initial values for 2nd page in wizard
Next Topic:When in a wizard how can you navigate to the WizardDialog
Goto Forum:
  


Current Time: Wed Jul 23 05:19:31 EDT 2025

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

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

Back to the top