|
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  |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.08139 seconds