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:Computer freeze when I hit "Run As Java Application" on Eclipse
Next Topic:Resetting perspective duplicates actions in Breakpoints view
Goto Forum:
  


Current Time: Thu Oct 19 22:10:47 GMT 2017

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

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