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 14:07 Go to next message
darrel karisch is currently offline darrel karisch
Messages: 3
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 17:19 Go to previous messageGo to next message
Joseph Carroll is currently offline Joseph Carroll
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 14:22 Go to previous message
Paul Webster is currently offline Paul Webster
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: Tue Jul 29 15:04:36 EDT 2014

Powered by FUDForum. Page generated in 0.01508 seconds