Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Hide "External Tools" action set
Hide "External Tools" action set [message #648389] Wed, 12 January 2011 16:42 Go to next message
Giovanni De Sossi is currently offline Giovanni De SossiFriend
Messages: 161
Registered: October 2009
Location: Rome, Italy
Senior Member

Hi,

in my RCP app, I need to remove some action set; I wrote in my ApplicationWorkbenchWindowAdvisor.postWindowCreate:

PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActi vePage().hideActionSet( "org.eclipse.search.searchActionSet");

...and so on, but I'm not able to remove the "External Tools" button from the toolBar, 'cause I don't know the right string (actionSetID) to put in: anybody helps me?

Thanx,

Giovanni.
Re: Hide "External Tools" action set [message #648414 is a reply to message #648389] Wed, 12 January 2011 19:12 Go to previous messageGo to next message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

If you use ALT+SHIFT+F2 and click on the external tools icon, it will
provide information (like the actionSet)

org.eclipse.ui.externaltools.ExternalToolsSet

--
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: Hide "External Tools" action set [message #648496 is a reply to message #648414] Thu, 13 January 2011 09:08 Go to previous message
Giovanni De Sossi is currently offline Giovanni De SossiFriend
Messages: 161
Registered: October 2009
Location: Rome, Italy
Senior Member

Hi Paul,

Thank you very much for your help, it works perfectly.

Regards,

Giovanni.
Previous Topic:Progress view not updating
Next Topic:Focus problem with ViewPart and Editor
Goto Forum:
  


Current Time: Sun Dec 21 15:54:53 GMT 2014

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

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