问题
I migrated from Eclipse Indigo (3.7) to Juno (4.2). In Juno all toolbars seem to be permanently locked. Is there a way to unlock them so they could be moved or rearranged?
回答1:
Try Windows- Preferences - Appearance
See the print:
Then type Theme in the Search box (or go General->Appeearance->Theme) and choose Window 7. restart and you'll be able to move the icons/groups in the toolbar (but not get rid of any)
After you're done you'll be asked to restart/ I went to Classsic theme and THEN restarted.
Hope it helps
回答2:
I posted this earlier as a comment to my question, but was suggested that it should be an answer, so here we go:
It has been officially confirmed that the ability to move toolbars (or any trim elements for that matter) is broken in Eclipse Juno. Here's the link to the Bug #340695 for everyone who's interested in tracking this issue. The fix is expected in the Milestone release 4.2.2.
回答3:
Changing the theme to Windows 7 work fine for me.
回答4:
I don't think that this is possible today.
回答5:
Partial workaround: http://blog.redfin.com/devblog/2012/07/hide_eclipse_juno_toolbar.html
Use Help > Welcome, then Window / Show Toolbar. At that point you should be able to move your minimized window toolbar(s) around (what was "fast view" before).
回答6:
Good grief. I tried changing to the Windows 7 Classic theme because I was unable to move my toolbar buttons. Worse even, when the debug perspective opened automatically upon hitting the first breakpoint, the Java perspective button remained pressed, but pressing it again changed back to the Java perspective. Now, with Windows 7 Classic, the editor tabs look like in Indigo (whose look&feel personally I liked much better), but now the menu bar is gone and all perspective chooser buttons are gone too. The menu hotkeys (such as "Alt-W p" to get to Window-Preferences) don't seem to work. If I don't want to re-install I would probably now have to fiddle with some config files to find the Theme setting. Well, thank you...
回答7:
For Eclipse Kepler, I have reported the bug again (the fix to the previously listed bug doesn't appear to have made a difference), and listed a workaround.
Changing the CSS for the org.eclipse.platform plugin to use ../images/
instead of ./
in all of the image URLs should cause it to start working.
回答8:
Obviously this is still broken in v4.3/Kepler. Thanks to the above appends I found a way to fix this (using theme Windows Classic).
Thanks folks! M.
来源:https://stackoverflow.com/questions/11301795/how-to-unlock-toolbars-in-eclipse-4-2-juno