Skip to main content



      Home
Home » Newcomers » Newcomers » How-to: Add Save All button to toolbar Java Perspective
How-to: Add Save All button to toolbar Java Perspective [message #138698] Sat, 18 February 2006 13:25 Go to next message
Eclipse UserFriend
Hi,

I would like to add 'Save All' button to toolbar. I tried opening
Customize Perspective but could not figure it out how to add 'Save All'.

Any help is appreciated.

Thanks, Yogesh
Re: How-to: Add Save All button to toolbar Java Perspective [message #138708 is a reply to message #138698] Sat, 18 February 2006 17:55 Go to previous message
Eclipse UserFriend
Originally posted by: mailinglists.pellaton.li

Hello

As far as I know, the so called 'basic' toolbar cannot be configured by
the user. I think there are 2 ways to add the 'save all' button:

- write a plug-in that adds a new toolbar section containing the 'save
all' button

- patch the plug-in 'org.eclipse.ui.ide':
in the class WorkbenchActionBuilder insert the following line after
the line # 374 (if you want it to appear between 'save' and 'print'):

fileToolBar.add(saveAllAction);

Then build the plug-in and replace the one shipped with Eclipse with
your new version.

As far as I know this cannot be done using a fragment as fragments
cannot override classes of the host plug-in, but I am not really sure
about this. If somebody knows how to do so, please be so kind and let
me know!

Probably you were looking for a much simpler answer... anyways, I hope
my answer is of any value for you :-)

Michael
Previous Topic:How do I add an existing file to a new project?
Next Topic:Getting the Vusial Editor Project
Goto Forum:
  


Current Time: Mon Jul 14 02:49:27 EDT 2025

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

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

Back to the top