Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » How to add command contribution plugin to the Eclipse "Quick Access" for all perspectives?
How to add command contribution plugin to the Eclipse "Quick Access" for all perspectives? [message #1692365] Wed, 15 April 2015 10:46 Go to next message
Ilya Buziuk is currently offline Ilya BuziukFriend
Messages: 2
Registered: April 2015
Junior Member
I have a command contribution plugin. However it's visible in the "Quick Access" only when I make it available via Window -> Customize Perspective -> Command Groups Availability. Is it possible to make it available for the "Quick Access" for all perspectives regardless of the "Command Group Availability" ?
Re: How to add command contribution plugin to the Eclipse "Quick Access" for all perspecti [message #1698579 is a reply to message #1692365] Tue, 16 June 2015 13:43 Go to previous message
Ilya Buziuk is currently offline Ilya BuziukFriend
Messages: 2
Registered: April 2015
Junior Member
The gist & solution to the problem are the following:

Gist of the issue

The command is contributed as an actionSet, which ties it to be active in a perspective (it will also add it to the menus and toolbars)

Solution

Need to write a command and make sure the actionSet action sets the - definitionId to the commandId. Then write a defaultHandler for the command, the one that will work in the general case (by default it will add the command to the Quick Access regardless of the perspective).
Previous Topic:Incorporating new behaviors into Release Note
Next Topic:DnD PluginTransfer from Navigator
Goto Forum:
  


Current Time: Tue Mar 19 03:32:10 GMT 2024

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

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

Back to the top