Skip to main content



      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 04:01 Go to next message
Eclipse UserFriend
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 08:06 Go to previous messageGo to next message
Eclipse UserFriend
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] Thu, 16 December 2010 23:06 Go to previous message
Eclipse UserFriend
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: Thu Jul 24 13:30:46 EDT 2025

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

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

Back to the top