Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Add a Command Contribution Item to the editor/view Tab popup menu
Add a Command Contribution Item to the editor/view Tab popup menu [message #898074] Wed, 25 July 2012 18:07 Go to next message
darrel karisch is currently offline darrel karischFriend
Messages: 4
Registered: July 2012
Junior Member
Can I add a command Contribution Item to a view/editor Tab popup menu to go along with the Close, Close All, and Close Others?

Is there a locationUri for this menu?
Re: Add a Command Contribution Item to the editor/view Tab popup menu [message #898837 is a reply to message #898074] Fri, 27 July 2012 21:19 Go to previous messageGo to next message
Joseph Carroll is currently offline Joseph CarrollFriend
Messages: 174
Registered: May 2012
Location: Milwaukee, WI
Senior Member

No this is not possible at this time. Juno creates that context menu through the use of ActionFactory (they aren't even commands). However, in the future (my guess would be 4.3) you will certainly be able to contribute commands to the context menu. The context menus will be defined (AFAIK) through menu contributions, so once we get to that point you would only need the contribution item's id.

JD
Re: Add a Command Contribution Item to the editor/view Tab popup menu [message #902856 is a reply to message #898837] Mon, 20 August 2012 18:22 Go to previous message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

See https://bugs.eclipse.org/bugs/show_bug.cgi?id=387233

PW


Previous Topic:Merge gives the possibility to merge again
Next Topic:How to add a perspective dynamically
Goto Forum:
  


Current Time: Fri Nov 28 06:07:39 GMT 2014

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

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