Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Command placement in Eclipse main toolbar
Command placement in Eclipse main toolbar [message #645015] Wed, 15 December 2010 09:01 Go to next message
EclipseNoob  is currently offline EclipseNoob Friend
Messages: 10
Registered: December 2010
Junior Member
Hii all....

I am using the command framework(org.eclipse.ui.menus) to create a new command and add it to the main toolbar (editor toolbar)in my application. But the problem is with the placement of the toggle command !!!

I have an editor Action bar contributor which adds actions to the editor toolbar. I am trying to add my command to the end of the editor action bar without much success !!

please help me out guys !!!
Re: Command placement in Eclipse main toolbar [message #645288 is a reply to message #645015] Thu, 16 December 2010 13:06 Go to previous messageGo to next message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

On 12/15/2010 04:01 AM, EclipseNoob wrote:
> I have an editor Action bar contributor which adds actions to the editor
> toolbar. I am trying to add my command to the end of the editor action
> bar without much success !!
> please help me out guys !!!

menu contributions can only see the main menu bar/main toolbar. They
can't see editor action bars or actionSets.

The order of application is programmatic through the action bar advisor,
menu contributions, actionSets, editor action bars (when an editor is open).


PW

--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Platform_Expression_Framework
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse .platform.doc.isv/guide/workbench.htm


Re: Command placement in Eclipse main toolbar [message #645401 is a reply to message #645288] Fri, 17 December 2010 04:06 Go to previous message
EclipseNoob  is currently offline EclipseNoob Friend
Messages: 10
Registered: December 2010
Junior Member
Thanx for the reply !!! Sad
Previous Topic:My RCP won't restart on PlatformUI.getWorkbench().restart();
Next Topic:Disable double click in palette
Goto Forum:
  


Current Time: Mon Dec 22 19:29:54 GMT 2014

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

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