Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: for the plan.

Jump to: navigation, search

FAQ What is the difference between a toolbar and a cool bar?

A cool bar is a special kind of toolbar that allows the user to reposition its items dynamically. Cool bars will also add more rows as necessary when items are added or moved. You can lock cool bars programmatically by calling CoolBar.setLocked, preventing the user from making further layout changes. The only limitation of cool bars is that, unlike ordinary toolbars, they can be oriented only horizontally. Otherwise, they are created and used just like standard toolbars. In Eclipse 3.0, JFace introduced a CoolBarManager class for helping to manage contributions to a cool bar, just as ToolBarManager is used for regular toolbars.

See Also:


This FAQ was originally published in Official Eclipse 3.0 FAQs. Copyright 2004, Pearson Education, Inc. All rights reserved. This text is made available here under the terms of the Eclipse Public License v1.0.

Back to the top