Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » how can we disable all the actions registered in ApplicationActionBarAdvisitor?
how can we disable all the actions registered in ApplicationActionBarAdvisitor? [message #465741] Wed, 04 April 2007 10:28 Go to next message
Jian Lee is currently offline Jian LeeFriend
Messages: 21
Registered: July 2009
Junior Member
Hi,all

I'm developing an IM software, and if the network is broken, we need to
disable all the functions, so the actions related to the menu item need
to be disabled.

So how can I get all the actions registered in
ApplicationActionBarAdvisitor and disable all of them?

Best regards.

Chandler.
Re: how can we disable all the actions registered in ApplicationActionBarAdvisitor? [message #465746 is a reply to message #465741] Wed, 04 April 2007 13:33 Go to previous messageGo to next message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

There's no API way to accomplish this.

For actions that you contribute, you can cache them and enable and
disable them as needed.

PW


Re: how can we disable all the actions registered in ApplicationActionBarAdvisitor? [message #465765 is a reply to message #465746] Thu, 05 April 2007 01:13 Go to previous message
Jian Lee is currently offline Jian LeeFriend
Messages: 21
Registered: July 2009
Junior Member
Ok, thanks a lot.


Paul Webster wrote:
> There's no API way to accomplish this.
>
> For actions that you contribute, you can cache them and enable and
> disable them as needed.
>
> PW
Previous Topic:Drag and Drop to TabItem's Viewer
Next Topic:Ctrl+s switches dirty to true
Goto Forum:
  


Current Time: Sat Apr 27 02:48:35 GMT 2024

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

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

Back to the top