Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » JFace » Enable/disable custom toolbar shortcuts automatically
Enable/disable custom toolbar shortcuts automatically [message #10521] Wed, 27 May 2009 14:59
Lars Bischoff is currently offline Lars BischoffFriend
Messages: 13
Registered: July 2009
Junior Member
Hello newsgroup,

I wonder if it is possible to enable toolbar shortcuts automatically
depending from a view's behaviour, like the SAVE, SAVE_ALL and PRINT
shortcuts do for example.
I created some actions to export the content of a View into various
formats, and now I'd like to create shortcuts for those actions in the
toolbar. If no View is open, these shortcuts are ought to be disabled
and vice versa.
Do I have to write some extra piece of code with listeners, etc. or is
it possible to plug-in these actions somewhere?

Best regards,
Lars
Previous Topic:Odd Problem with TextCellEditor
Next Topic:int / float values in a table
Goto Forum:
  


Current Time: Fri Apr 26 23:32:56 GMT 2024

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

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

Back to the top